Skip to content

Commit

Permalink
Make the constructor arguments X and Y floats (#2989)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sword352 authored Dec 18, 2023
1 parent ad67b80 commit de6366a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flixel/FlxCamera.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@ class FlxCamera extends FlxBasic
* @param Zoom The initial zoom level of the camera.
* A zoom level of 2 will make all pixels display at 2x resolution.
*/
public function new(X:Int = 0, Y:Int = 0, Width:Int = 0, Height:Int = 0, Zoom:Float = 0)
public function new(X:Float = 0, Y:Float = 0, Width:Int = 0, Height:Int = 0, Zoom:Float = 0)
{
super();

Expand Down

0 comments on commit de6366a

Please sign in to comment.