This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Hello!
As documented here, the GetMouseFocus will be replaced by GetMouseFoci in TWW but it works a little different.
On TWW test servers, the usage of GetMouseFocus causes null errors.
Here is the fix found by Kharthus on the addon ItemRack.
if tocversion >= 110000 then local region = GetMouseFoci() local frame = region[1] else local frame = GetMouseFocus() end
Regards :)
I suggest this fix on line 118 of LibUIDropDownMenu.lua but I cannot test it as the test servers are down at the moment.
function lib:UIDropDownMenuButton_ShouldShowIconTooltip(self) if self.Icon and (self.iconTooltipTitle or self.iconTooltipText) and (self.icon or self.mouseOverIcon) then if wowversion >= 110000 then local region = GetMouseFoci() local frame = region[1] else local frame = GetMouseFocus() end return frame == self.Icon; end return false; end
PTR still not open in my region. Unable to test the fix :/
Servers are up.
I replace tocversion by wowversion above ;)
To post a comment, please login or register a new account.