DevTool

DevTool

124 Downloads

[BUG] Issue on /dev mouseover

m33shoq opened this issue ยท 1 comments

commented

GetMouseFocus is deprecated by GetMouseFoci in TWW(the new function return is slightly different though even better for DevTool)
https://warcraft.wiki.gg/wiki/API_GetMouseFoci

Lua error log:

2x DevTool/DevTool.lua:149: attempt to call global 'GetMouseFocus' (a nil value)
[string "@DevTool/DevTool.lua"]:149: in function `command'
[string "@DevTool/DevTool.lua"]:344: in function `ExecuteCMD'
[string "@DevTool/DevTool.lua"]:76: in function `?'
[string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5440: in function `ChatEdit_ParseText'
[string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5092: in function `ChatEdit_SendText'
[string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5128: in function `ChatEdit_OnEnterPressed'
[string "*ChatFrame.xml:140_OnEnterPressed"]:1: in function <[string "*ChatFrame.xml:140_OnEnterPressed"]:1>

Locals:
(*temporary) = nil
(*temporary) = "attempt to call global 'GetMouseFocus' (a nil value)"
commented

Fixed, thanks for the report!