haojianlong 5 anni fa
parent
commit
ff61844d91
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  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;
   }
 
   /**