mirror of
https://github.com/edubart/otclient.git
synced 2025-10-19 05:53:26 +02:00
Rework hotkeys manager, fix many issues on it
This commit is contained in:
@@ -18,6 +18,11 @@ function UIPopupMenu:display(pos)
|
||||
return
|
||||
end
|
||||
|
||||
if g_ui.isMouseGrabbed() then
|
||||
self:destroy()
|
||||
return
|
||||
end
|
||||
|
||||
if currentMenu then
|
||||
currentMenu:destroy()
|
||||
end
|
||||
|
Reference in New Issue
Block a user