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:
@@ -116,7 +116,7 @@ end
|
||||
---@param isTouch? boolean Button just released by mouse?
|
||||
function button:press(x, y, isTouch)
|
||||
if self:isHovering(x, y) and not self._pressed then
|
||||
self.codeWhenReleased()
|
||||
self.codeWhenPressed()
|
||||
self._pressed = true
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user