liwei 1 рік тому
батько
коміт
26a42e6024
1 змінених файлів з 5 додано та 0 видалено
  1. 5 0
      src/modules/editor/controllers/SelectCtrl/index.ts

+ 5 - 0
src/modules/editor/controllers/SelectCtrl/index.ts

@@ -659,6 +659,11 @@ export class SelectCtrl extends ModuleControl<EditorModule> {
         if (comp.layout.locked) {
           this.transferStyle.showGizmo = false;
         }
+        if (comp.compKey == "Text") {
+          if (!this.helper.isStreamCardChild(comp.id)) {
+            this.transferStyle.showGizmo = false;
+          } 
+        }
     }
   }