Commit e9496958 authored by rockyl's avatar rockyl

修改2d矢量类的初始化参数以适配编辑器

parent 1738e611
...@@ -30,7 +30,7 @@ export default class Transform extends ScillaComponent { ...@@ -30,7 +30,7 @@ export default class Transform extends ScillaComponent {
* 坐标 * 坐标
*/ */
@dirtyFieldTrigger @dirtyFieldTrigger
position: Vector2D = new Vector2D(0); position: Vector2D = new Vector2D(0, 0);
/** /**
* 节点透明度 * 节点透明度
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment