Skip to content

Commit

Permalink
nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
kodewdle committed Apr 22, 2024
1 parent 0d91615 commit 23b2d81
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 26 deletions.
5 changes: 3 additions & 2 deletions ElvUI/Core/Modules/ActionBars/ActionBars.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ local ClearOverrideBindings = ClearOverrideBindings
local CreateFrame = CreateFrame
local GetBindingKey = GetBindingKey
local GetOverrideBarIndex = GetOverrideBarIndex
local GetSpellBookItemInfo = C_SpellBook and C_SpellBook.GetSpellBookItemInfo or GetSpellBookItemInfo
local GetTempShapeshiftBarIndex = GetTempShapeshiftBarIndex
local GetVehicleBarIndex = GetVehicleBarIndex
local HasOverrideActionBar = HasOverrideActionBar
Expand Down Expand Up @@ -46,10 +45,12 @@ local NUM_ACTIONBAR_BUTTONS = NUM_ACTIONBAR_BUTTONS
local COOLDOWN_TYPE_LOSS_OF_CONTROL = COOLDOWN_TYPE_LOSS_OF_CONTROL
local CLICK_BINDING_NOT_AVAILABLE = CLICK_BINDING_NOT_AVAILABLE

local GetSpellBookItemInfo = (C_SpellBook and C_SpellBook.GetSpellBookItemInfo) or GetSpellBookItemInfo
local ClearPetActionHighlightMarks = (PetActionBar and PetActionBar.ClearPetActionHighlightMarks) or ClearPetActionHighlightMarks

local C_ActionBar_GetProfessionQuality = C_ActionBar and C_ActionBar.GetProfessionQuality
local C_PetBattles_IsInBattle = C_PetBattles and C_PetBattles.IsInBattle
local C_PlayerInfo_GetGlidingInfo = C_PlayerInfo and C_PlayerInfo.GetGlidingInfo
local ClearPetActionHighlightMarks = ClearPetActionHighlightMarks or PetActionBar.ClearPetActionHighlightMarks
local ActionBarController_UpdateAllSpellHighlights = ActionBarController_UpdateAllSpellHighlights

local GetCVarBool = C_CVar.GetCVarBool
Expand Down
2 changes: 1 addition & 1 deletion ElvUI/Core/Modules/DataBars/Reputation.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ local ipairs = ipairs
local huge = math.huge

local GameTooltip = GameTooltip
local GetWatchedFactionInfo = C_Reputation and C_Reputation.GetWatchedFactionData or GetWatchedFactionInfo
local ToggleCharacter = ToggleCharacter

local GetFriendshipReputation = GetFriendshipReputation or C_GossipInfo.GetFriendshipReputation
Expand All @@ -20,6 +19,7 @@ local C_MajorFactions_HasMaximumRenown = C_MajorFactions and C_MajorFactions.Has
local C_QuestLog_GetInfo = C_QuestLog.GetInfo
local C_QuestLog_GetNumQuestLogEntries = C_QuestLog.GetNumQuestLogEntries
local C_QuestLog_GetQuestLogMajorFactionReputationRewards = C_QuestLog.GetQuestLogMajorFactionReputationRewards
local GetWatchedFactionInfo = (C_Reputation and C_Reputation.GetWatchedFactionData) or GetWatchedFactionInfo

local BLUE_FONT_COLOR = BLUE_FONT_COLOR
local RENOWN_LEVEL_LABEL = RENOWN_LEVEL_LABEL
Expand Down
2 changes: 1 addition & 1 deletion ElvUI/Core/Modules/Tooltip/Tooltip.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ local GetCraftReagentItemLink = GetCraftReagentItemLink
local GetCraftSelectionIndex = GetCraftSelectionIndex
local GetCreatureDifficultyColor = GetCreatureDifficultyColor
local GetGuildInfo = GetGuildInfo
local GetItemCount = C_Item and C_Item.GetItemCount or GetItemCount
local GetMouseFocus = GetMouseFoci or GetMouseFocus
local GetNumGroupMembers = GetNumGroupMembers
local GetRelativeDifficultyColor = GetRelativeDifficultyColor
Expand Down Expand Up @@ -71,6 +70,7 @@ local TooltipDataType = Enum.TooltipDataType
local AddTooltipPostCall = TooltipDataProcessor and TooltipDataProcessor.AddTooltipPostCall
local GetDisplayedItem = TooltipUtil and TooltipUtil.GetDisplayedItem

local GetItemCount = (C_Item and C_Item.GetItemCount) or GetItemCount
local GetItemInfo = (C_Item and C_Item.GetItemInfo) or GetItemInfo
local GetItemQualityColor = (C_Item and C_Item.GetItemQualityColor) or GetItemQualityColor

Expand Down
2 changes: 1 addition & 1 deletion ElvUI/Core/Modules/UnitFrames/Elements/AuraBars.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ local unpack = unpack
local strfind = strfind

local CreateFrame = CreateFrame
local GetSpellInfo = C_Spell and C_Spell.GetSpellInfo or GetSpellInfo
local GetSpellInfo = (C_Spell and C_Spell.GetSpellInfo) or GetSpellInfo

local DebuffColors = E.Libs.Dispel:GetDebuffTypeColor()

Expand Down
8 changes: 4 additions & 4 deletions ElvUI/Mainline/Modules/Blizzard/ObjectiveFrame.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ local function ObjectiveTracker_UpdateBackground()
end
end

-- Fix me for 11.0
-- Fix ME 11.0
local function ObjectiveTracker_Collapse()
if E.Retail then return end

Expand All @@ -57,7 +57,7 @@ local function ObjectiveTracker_Collapse()
ObjectiveTracker_UpdateBackground()
end

-- Fix me for 11.0
-- Fix ME 11.0
local function ObjectiveTracker_Expand()
if E.Retail then return end

Expand All @@ -69,7 +69,7 @@ local function ObjectiveTracker_Expand()
end
-- end clone

-- Fix me for 11.0
-- Fix ME 11.0
function BL:ObjectiveTracker_AutoHideOnHide()
if E.Retail then return end
if Tracker.collapsed then return end
Expand All @@ -84,7 +84,7 @@ function BL:ObjectiveTracker_AutoHideOnHide()
end
end

-- Fix me for 11.0
-- Fix ME 11.0
function BL:ObjectiveTracker_AutoHideOnShow()
if E.Retail then return end

Expand Down
2 changes: 1 addition & 1 deletion ElvUI/Mainline/Modules/Skins/ObjectiveTracker.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ local pairs, unpack = pairs, unpack
local hooksecurefunc = hooksecurefunc
local InCombatLockdown = InCombatLockdown

local headers = {
local headers = { -- Fix ME 11.0
--_G.ObjectiveTrackerBlocksFrame.QuestHeader,
--_G.ObjectiveTrackerBlocksFrame.AchievementHeader,
--_G.ObjectiveTrackerBlocksFrame.ScenarioHeader,
Expand Down
26 changes: 14 additions & 12 deletions ElvUI_Libraries/Core/LibRangeCheck-3.0/LibRangeCheck-3.0.lua
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ local setmetatable = setmetatable

local CheckInteractDistance = CheckInteractDistance
local GetInventoryItemLink = GetInventoryItemLink
local GetItemInfo = (C_Item and C_Item.GetItemInfo) or GetItemInfo
local GetNumSpellTabs = (C_SpellBook and C_SpellBook.GetNumSpellBookSkillLines) or GetNumSpellTabs
local GetSpellBookItemName = (C_SpellBook and C_SpellBook.GetSpellBookItemName) or GetSpellBookItemName
local GetSpellInfo = (C_Spell and C_Spell.GetSpellInfo) or GetSpellInfo
local GetSpellTabInfo = (C_SpellBook and C_SpellBook.GetSpellBookSkillLineInfo) or GetSpellTabInfo
local GetTime = GetTime
local InCombatLockdown = InCombatLockdown
local IsItemInRange = IsItemInRange
Expand All @@ -84,6 +79,12 @@ local UnitIsUnit = UnitIsUnit
local UnitIsVisible = UnitIsVisible
local UnitRace = UnitRace

local GetItemInfo = (C_Item and C_Item.GetItemInfo) or GetItemInfo
local GetNumSpellTabs = (C_SpellBook and C_SpellBook.GetNumSpellBookSkillLines) or GetNumSpellTabs
local GetSpellBookItemName = (C_SpellBook and C_SpellBook.GetSpellBookItemName) or GetSpellBookItemName
local GetSpellTabInfo = (C_SpellBook and C_SpellBook.GetSpellBookSkillLineInfo) or GetSpellTabInfo
local GetSpellInfo = (C_Spell and C_Spell.GetSpellInfo) or GetSpellInfo

local C_Timer = C_Timer
local Item = Item

Expand Down Expand Up @@ -661,13 +662,14 @@ local function findSpellIdx(spellName, sid)
return nil
end

-- FIX ME 11.0
--for i = 1, getNumSpells() do
--local name, _, id = GetSpellBookItemName(i, BOOKTYPE_SPELL)
--if sid == id or (spellName == name and not MatchSpellByID[id]) then
--return i
--end
--end
--[[ FIX ME 11.0
for i = 1, getNumSpells() do
local name, _, id = GetSpellBookItemName(i, BOOKTYPE_SPELL)
if sid == id or (spellName == name and not MatchSpellByID[id]) then
return i
end
end
]]

return nil
end
Expand Down
2 changes: 1 addition & 1 deletion ElvUI_Libraries/Core/oUF/elements/auras.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ local tinsert = tinsert
local UnitIsUnit = UnitIsUnit
local CreateFrame = CreateFrame
local GameTooltip = GameTooltip
local GetSpellInfo = C_Spell and C_Spell.GetSpellInfo or GetSpellInfo
local GetSpellInfo = (C_Spell and C_Spell.GetSpellInfo) or GetSpellInfo
local floor, min = math.floor, math.min
-- end block

Expand Down
2 changes: 1 addition & 1 deletion ElvUI_Options/Core/Filters.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ local strlower = strlower
local strmatch = strmatch
local tonumber = tonumber
local tostring = tostring
local GetSpellInfo = C_Spell and C_Spell.GetSpellInfo or GetSpellInfo
local GetSpellInfo = (C_Spell and C_Spell.GetSpellInfo) or GetSpellInfo
local GetSpellSubtext = GetSpellSubtext

local quickSearchText, selectedSpell, selectedFilter, filterList, spellList = '', nil, nil, {}, {}
Expand Down
4 changes: 2 additions & 2 deletions ElvUI_Options/Core/StyleFilters.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ local GetClassInfo = GetClassInfo
local GetDifficultyInfo = GetDifficultyInfo
local GetInstanceInfo = GetInstanceInfo
local GetRealZoneText = GetRealZoneText
local GetSpellInfo = C_Spell and C_Spell.GetSpellInfo or GetSpellInfo
local GetSpellTexture = C_Spell and C_Spell.GetSpellTexture or GetSpellTexture
local GetSpellInfo = (C_Spell and C_Spell.GetSpellInfo) or GetSpellInfo
local GetSpellTexture = (C_Spell and C_Spell.GetSpellTexture) or GetSpellTexture
local tIndexOf = tIndexOf

local C_Map_GetMapInfo = C_Map.GetMapInfo
Expand Down

0 comments on commit 23b2d81

Please sign in to comment.