Skip to content

Commit

Permalink
Fix types on backdrop (#408)
Browse files Browse the repository at this point in the history
* Fix types on backdrop

* Update flixel/addons/display/FlxBackdrop.hx

---------

Co-authored-by: George Kurelic <[email protected]>
  • Loading branch information
NeeEoo and Geokureli authored Sep 26, 2023
1 parent 6df925b commit 0986c1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flixel/addons/display/FlxBackdrop.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = XY, spacingX = 0.0, spacingY = 0.0)
{
super(0, 0, graphic);

Expand Down

0 comments on commit 0986c1e

Please sign in to comment.