Skip to content

Commit

Permalink
Compat 5.7.0 (#334)
Browse files Browse the repository at this point in the history
* use FlxButton

* oops fix
  • Loading branch information
Geokureli authored Mar 18, 2024
1 parent a1c877d commit c315174
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Arcade/MinimalistTD/source/Button.hx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import flixel.ui.FlxButton;
import flixel.util.FlxColor;
#if (flixel < version("5.7.0"))
import flixel.ui.FlxButton.HIGHLIGHT;

typedef FlxButtonState = Int;
#end

class Button extends FlxButton
Expand Down Expand Up @@ -37,7 +35,7 @@ class Button extends FlxButton
/**
* Override set_status to change how highlight / normal state looks.
*/
override function set_status(Value:FlxButtonState):Int
override function set_status(Value)
{
if (label != null)
{
Expand Down

0 comments on commit c315174

Please sign in to comment.