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
|
end
|
||||||
---Trigger release action, don't need ``self._hovering`` to ``true``
|
---Trigger release action, don't need ``self._hovering`` to ``true``
|
||||||
function button:release(x, y)
|
function button:release(x, y)
|
||||||
if self:isHovering(x, y) and self._pressed then
|
if self:isHovering(x, y) then
|
||||||
self._pressed = false
|
self._pressed = false
|
||||||
self.codeWhenReleased()
|
self.codeWhenReleased()
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user