Skip to content

Commit

Permalink
Fix for latest update for Classic Era/SoD v11504
Browse files Browse the repository at this point in the history
Signed-off-by: Mikinho <[email protected]>
  • Loading branch information
Mikinho authored and Rottenbeer committed Sep 26, 2024
1 parent e2c84c2 commit 401ceac
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions ItemRack/ItemRack.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ local _
local wowver, wowbuild, wowbuilddate, wowtoc = GetBuildInfo()
ItemRack.Version = GetAddOnMetadata(addonName, "Version")

-- by Mikinho - Fix for latest update for Classic Era/SoD v11504
local GetMouseFocus = GetMouseFocus
if not GetMouseFocus and GetMouseFoci then
local GetMouseFoci = GetMouseFoci
GetMouseFocus = function()
return GetMouseFoci()[1]
end
end

function ItemRack.IsClassic()
return WOW_PROJECT_ID == WOW_PROJECT_CLASSIC
end
Expand Down
2 changes: 1 addition & 1 deletion ItemRack/ItemRack.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 30403, 40400
## Interface-Vanilla: 11500
## Interface-Vanilla: 11504
## Interface-TBC: 20504
## Interface-Wrath: 30403
## Interface-Cata: 40400
Expand Down

0 comments on commit 401ceac

Please sign in to comment.