mirror of
https://github.com/edubart/otclient.git
synced 2025-12-04 08:56:51 +01: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