Browse Source

imgitemxiugai

haojianlong 5 năm trước cách đây
mục cha
commit
ff61844d91
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      src/lib/SImgTextItem.ts

+ 3 - 1
src/lib/SImgTextItem.ts

@@ -106,7 +106,9 @@ export class SImgTextItem extends SObjectItem {
     this.textItem.moveTo(16, -6);
     this.moveable = true;
     this.selectable = true;
-    this.isTransform = false
+    this.isTransform = false;
+    this.textItem.enabled = false;
+    this.img.enabled = false;
   }
 
   /**