diff --git a/flixel/addons/ui/FlxUITypedButton.hx b/flixel/addons/ui/FlxUITypedButton.hx index 60c3e55..ab0255c 100644 --- a/flixel/addons/ui/FlxUITypedButton.hx +++ b/flixel/addons/ui/FlxUITypedButton.hx @@ -179,9 +179,9 @@ class FlxUITypedButton extends FlxTypedButton implements IFlxUIB { super.graphicLoaded(); - setupAnimation(getToggleStatusAnimation(NORMAL, 3)); - setupAnimation(getToggleStatusAnimation(HIGHLIGHT, #if FLX_MOUSE 4 #else 3 #end)); - setupAnimation(getToggleStatusAnimation(PRESSED, 5)); + setupAnimation(getToggleStatusAnimation(NORMAL), 3); + setupAnimation(getToggleStatusAnimation(HIGHLIGHT), #if FLX_MOUSE 4 #else 3 #end); + setupAnimation(getToggleStatusAnimation(PRESSED), 5); if (_autoCleanup) {