diff --git a/source/funkin/mobile/ui/FunkinButton.hx b/source/funkin/mobile/ui/FunkinButton.hx index 510d7ead9..e537f41e6 100644 --- a/source/funkin/mobile/ui/FunkinButton.hx +++ b/source/funkin/mobile/ui/FunkinButton.hx @@ -131,11 +131,15 @@ class FunkinButton extends FunkinSprite implements IFlxInput { final overlapFound:Bool = checkTouchOverlap(); - if (currentInput != null && currentInput.justReleased && overlapFound) onUpHandler(); + if (currentInput != null && currentInput.justReleased) + { + onUpHandler(); + } - if (status != FunkinButtonStatus.NORMAL - && (!overlapFound || (currentInput != null && currentInput.justReleased)) - && !SwipeUtil.swipeAny) onOutHandler(); + if (status != FunkinButtonStatus.NORMAL && !SwipeUtil.swipeAny && (currentInput != null && !currentInput.pressed)) + { + onOutHandler(); + } } #end