|
@@ -29,6 +29,9 @@ export const View = defineComponent({
|
|
|
const m = obj.worldTransform.clone();
|
|
|
m.invert();
|
|
|
|
|
|
+ let isFocus = store.isEditMode && store.selected.length > 1 && store.lastSelected == props.compId;
|
|
|
+ isFocus = isFocus || store.currCompId == props.compId;
|
|
|
+
|
|
|
return (
|
|
|
<div
|
|
|
ref={compRef}
|
|
@@ -37,7 +40,7 @@ export const View = defineComponent({
|
|
|
store.isEditMode && controls.selectCtrl._state != 0 && editCompStyle,
|
|
|
isGroupComp && groupCompCls,
|
|
|
store.currStreamCardId == props.compId && CurrCompStyle,
|
|
|
- store.isEditMode && store.selected.length > 1 && store.lastSelected == props.compId && AnchorCompStyle
|
|
|
+ isFocus && AnchorCompStyle
|
|
|
]}
|
|
|
style={helper.createStyle(comp.layout)}
|
|
|
onClick={(e) => {
|