mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 03:54:54 +02:00
Fixes to minimap
This commit is contained in:
@@ -5,4 +5,9 @@ function UIButton.create()
|
||||
local button = UIButton.internalCreate()
|
||||
button:setFocusable(false)
|
||||
return button
|
||||
end
|
||||
end
|
||||
|
||||
function UIButton:onMouseRelease(pos, button)
|
||||
if self:isPressed() then return true end
|
||||
return false
|
||||
end
|
||||
|
Reference in New Issue
Block a user