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,9 +120,7 @@ function button:release(x, y, isMouse)
|
||||
if self:isHovering(x, y) and self._pressed then
|
||||
self.codeWhenReleased()
|
||||
self._pressed = false
|
||||
if isMouse then
|
||||
self._hovering = self:isHovering(x, y)
|
||||
else
|
||||
if not love.mouse.isCursorSupported() then
|
||||
self._hovering = false
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user