mirror of
https://github.com/edubart/otclient.git
synced 2025-11-30 23:26:51 +01:00
some fixes in MainWindow move
This commit is contained in:
@@ -51,9 +51,8 @@ function UIPopupMenu:onMousePress(mousePos, mouseButton)
|
||||
-- clicks outside menu area destroys the menu
|
||||
if not self:containsPoint(mousePos) then
|
||||
self:destroy()
|
||||
return true
|
||||
end
|
||||
return false
|
||||
return true
|
||||
end
|
||||
|
||||
function UIPopupMenu:onKeyPress(keyCode, keyboardModifiers)
|
||||
|
||||
Reference in New Issue
Block a user