From 33b4e78254c4f21b90772a2b403830484b40ce9d Mon Sep 17 00:00:00 2001 From: Ne_Eo Date: Mon, 25 Sep 2023 12:14:24 +0200 Subject: [PATCH 1/2] Fix types on backdrop --- flixel/addons/display/FlxBackdrop.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flixel/addons/display/FlxBackdrop.hx b/flixel/addons/display/FlxBackdrop.hx index 9dc2b13f..89a501c4 100644 --- a/flixel/addons/display/FlxBackdrop.hx +++ b/flixel/addons/display/FlxBackdrop.hx @@ -72,7 +72,7 @@ class FlxBackdrop extends FlxSprite * @param spacingX Amount of spacing between tiles on the X axis * @param spacingY Amount of spacing between tiles on the Y axis */ - public function new(?graphic:FlxGraphicAsset, repeatAxes = XY, spacingX = 0, spacingY = 0) + public function new(?graphic:FlxGraphicAsset, repeatAxes:FlxAxes = XY, spacingX:Float = 0, spacingY:Float = 0) { super(0, 0, graphic); From 465ecb2ddf15efd6ff132e175b115770b8e86a64 Mon Sep 17 00:00:00 2001 From: George Kurelic Date: Tue, 26 Sep 2023 12:54:49 -0500 Subject: [PATCH 2/2] Update flixel/addons/display/FlxBackdrop.hx --- flixel/addons/display/FlxBackdrop.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flixel/addons/display/FlxBackdrop.hx b/flixel/addons/display/FlxBackdrop.hx index 89a501c4..4927e3bd 100644 --- a/flixel/addons/display/FlxBackdrop.hx +++ b/flixel/addons/display/FlxBackdrop.hx @@ -72,7 +72,7 @@ class FlxBackdrop extends FlxSprite * @param spacingX Amount of spacing between tiles on the X axis * @param spacingY Amount of spacing between tiles on the Y axis */ - public function new(?graphic:FlxGraphicAsset, repeatAxes:FlxAxes = XY, spacingX:Float = 0, spacingY:Float = 0) + public function new(?graphic:FlxGraphicAsset, repeatAxes = XY, spacingX = 0.0, spacingY = 0.0) { super(0, 0, graphic);