Browse Source

'修改文本图片和图标取消设置默认不随场景缩放'

zhangyu 5 years ago
parent
commit
3ae9562e5d

+ 0 - 1
saga-web-big/src/items/SIconTextItem.ts

@@ -176,7 +176,6 @@ export class SIconTextItem extends SObjectItem {
         this.textItem.moveTo(17, -(this.textItem.height * 0.5));
         this.moveable = true;
         this.selectable = true;
-        this.isTransform = false;
     }
 
     /**

+ 0 - 1
saga-web-graph/src/items/SImageItem.ts

@@ -54,7 +54,6 @@ export class SImageItem extends SObjectItem {
      */
     constructor(parent: SGraphItem | null, url?: string) {
         super(parent);
-        this.isTransform = false;
         if (url) this.url = url;
     } // Constructor
 

+ 0 - 1
saga-web-graph/src/items/STextItem.ts

@@ -102,7 +102,6 @@ export class STextItem extends SObjectItem {
         this._text = str;
         this._font = new SFont("sans-serif", 12);
         this.height = 12;
-        this.isTransform = false;
     } // Constructor
 
     /**