This commit is contained in:
Squishy (C6H12O6+NaCl+H2O)
2024-05-21 23:05:07 +07:00
parent 20a225db33
commit 6fd6d79100
4 changed files with 8 additions and 5 deletions

View File

@@ -125,6 +125,7 @@ end
---Trigger release action, don't need ``self._hovering`` to ``true``
---@param isTouch? boolean Button just released by mouse?
function button:release(x, y, isTouch)
error()
local hovering = isTouch and self:isHovering(x, y) or self._hovering
if hovering and self._pressed then