Fixes to minimap

This commit is contained in:
Henrique Santiago
2013-01-31 01:09:56 -02:00
parent 654f71e75f
commit 8a2d2cd5ac
5 changed files with 81 additions and 12 deletions

View File

@@ -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