set the default to 1

This commit is contained in:
Abnormal 2025-02-18 01:40:04 -06:00 committed by Eric
parent de02137d7c
commit 5054c58dca

View file

@ -268,10 +268,10 @@ typedef StageDataCharacter =
* [1, 1] means the character moves 1:1 with the camera.
* [0.5, 0.5] means the character moves half as much as the camera.
* [0, 0] means the character is not moved.
* @default [0, 0]
* @default [1, 1]
*/
@:optional
@:default([0, 0])
@:default([1, 1])
var scroll:Array<Float>;
/**