some fixes in MainWindow move

This commit is contained in:
Eduardo Bart
2012-02-07 02:55:20 -02:00
parent 876c521d43
commit 37f3f904c7
9 changed files with 29 additions and 5 deletions

View File

@@ -10,5 +10,6 @@ end
function UICheckBox:onMouseRelease(mousePos, mouseButton)
if self:isPressed() and self:containsPoint(mousePos) then
self:setChecked(not self:isChecked())
return true
end
end