Explorar o código

imgitemxiugai

haojianlong %!s(int64=5) %!d(string=hai) anos
pai
achega
ff61844d91
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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;
   }
 
   /**