diff --git a/ItemRack/ItemRack.lua b/ItemRack/ItemRack.lua index c7bcc42..1de9177 100644 --- a/ItemRack/ItemRack.lua +++ b/ItemRack/ItemRack.lua @@ -1305,10 +1305,16 @@ function ItemRack.WriteMenuCooldowns() end function ItemRack.MenuMouseover() - local frame = GetMouseFocus() + local frame = nil local frameName = nil local frameVisible = nil local IRmouseOverFrame = nil + if GetMouseFocus then + frame = GetMouseFocus() + elseif GetMouseFoci then + local mouseFoci = GetMouseFoci() + frame = mouseFoci[1] or nil + end if frame then frameName = frame:GetName() end if frame then frameVisible = frame:IsVisible() end if frameName then IRmouseOverFrame = ItemRack.MenuMouseoverFrames[frameName] end diff --git a/ItemRack/ItemRack.toc b/ItemRack/ItemRack.toc index a2be085..7a62d0d 100644 --- a/ItemRack/ItemRack.toc +++ b/ItemRack/ItemRack.toc @@ -1,5 +1,5 @@ ## Interface: 11502, 40400 -## Interface-Classic: 11502 +## Interface-Classic: 11504 ## Interface-TBC: 20504 ## Interface-Wrath: 30403 ## Interface-Cata: 40400 diff --git a/ItemRackOptions/ItemRackOptions.toc b/ItemRackOptions/ItemRackOptions.toc index 901dbdf..18c3d24 100644 --- a/ItemRackOptions/ItemRackOptions.toc +++ b/ItemRackOptions/ItemRackOptions.toc @@ -1,5 +1,5 @@ ## Interface: 11502, 40400 -## Interface-Classic: 11502 +## Interface-Classic: 11504 ## Interface-TBC: 20504 ## Interface-Wrath: 30403 ## Interface-Cata: 40400