change the default scrollFactor for stagedata prop stuff from 0,0 to 1,1
This commit is contained in:
@@ -173,10 +173,10 @@ typedef StageDataProp =
|
||||
* [1, 1] means the prop moves 1:1 with the camera.
|
||||
* [0.5, 0.5] means the prop moves half as much as the camera.
|
||||
* [0, 0] means the prop is not moved.
|
||||
* @default [0, 0]
|
||||
* @default [1, 1]
|
||||
*/
|
||||
@:optional
|
||||
@:default([0, 0])
|
||||
@:default([1, 1])
|
||||
var scroll:Array<Float>;
|
||||
|
||||
/**
|
||||
@@ -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>;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user