liwei 1 год назад
Родитель
Сommit
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;
+          } 
+        }
     }
   }