mirror of
https://gitea.com/SweetSea-ButImNotSweet/tromi_mobile.git
synced 2025-01-08 17:33:09 +08:00
TEST
This commit is contained in:
@@ -120,7 +120,7 @@ function button:press(x, y)
|
||||
end
|
||||
---Trigger release action, don't need ``self._hovering`` to ``true``
|
||||
function button:release(x, y)
|
||||
if self:isHovering(x, y) and self._pressed then
|
||||
if self:isHovering(x, y) then
|
||||
self._pressed = false
|
||||
self.codeWhenReleased()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user