Commit deb4bed2 authored by 邱旭's avatar 邱旭

1

parent 4ef73e77
......@@ -54,10 +54,10 @@ export default class IconBase {
};
}
// public set postion(pos: {x, y}, y?:number) {
// this.iconGroup.x = pos.x,
//
// }
public set postion(pos: any) {
this.iconGroup.x = pos.x;
this.iconGroup.y = pos.y;
}
public get x() {
return this.iconGroup.x;
......
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