Quantcast ESOUI - View Single Post - [open]Typo IsMenuVisisble(), file esoui/libraries/zo_contextmenus/zo_contextmenus.lua
View Single Post
12/22/18, 03:50 PM   #1
Baertram
 
Baertram's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 2,493
[open]Typo IsMenuVisisble(), file esoui/libraries/zo_contextmenus/zo_contextmenus.lua

Hey there,

in the file here the function name contains an s too much.
It's just a typo bug and there is appearantly only 1 call to this function in the same filename, but maybe a fix is easy then

esoui/libraries/zo_contextmenus/zo_contextmenus.lua


function IsMenuVisisble()
return mouseUpRefCounts[ZO_Menu] ~= nil
end

function MenuOwnerClosed(potentialOwner)
if(IsMenuVisisble() and (GetMenuOwner() == potentialOwner)) then
ClearMenu()
end
end
  Reply With Quote