|
@@ -84,26 +84,26 @@ export const Hudop = defineComponent({
|
|
|
|
|
|
const opref= ref();
|
|
|
onMounted(()=>{
|
|
|
- opref.value.editable = "hudop";
|
|
|
+ opref.value.editable = "hudop";
|
|
|
})
|
|
|
return ()=>(
|
|
|
<div class="hudop" ref={opref}>
|
|
|
- {store.streamCardIds.length > 1 && (
|
|
|
+ {store.streamCardIds.length > 1 && (
|
|
|
<IconMove class="draganchor" />
|
|
|
)}
|
|
|
{store.streamCardIds.length > 1 && (
|
|
|
<IconDelete
|
|
|
onClick={() => actions.removeStreamCard(props.compId)}
|
|
|
/>
|
|
|
- )}
|
|
|
- <IconAdd
|
|
|
- onClick={() => {
|
|
|
- const index = store.streamCardIds.indexOf(props.compId) + 1;
|
|
|
- actions.addCompToDesign("Container", index);
|
|
|
+ )}
|
|
|
+ <IconAdd
|
|
|
+ onClick={() => {
|
|
|
+ const index = store.streamCardIds.indexOf(props.compId) + 1;
|
|
|
+ actions.addCompToDesign("Container", index);
|
|
|
|
|
|
- }}
|
|
|
- />
|
|
|
- </div>
|
|
|
+ }}
|
|
|
+ />
|
|
|
+ </div>
|
|
|
)
|
|
|
}
|
|
|
})
|
|
@@ -145,9 +145,11 @@ const editCompStyle = css`
|
|
|
|
|
|
|
|
|
const CurrCompStyle = css`
|
|
|
+ position: relative;
|
|
|
outline: 1px solid @inf-primary-color;
|
|
|
box-shadow: 0 0 0 3000px rgba(0, 0, 0, 0.5);
|
|
|
-`
|
|
|
+ z-index: 1000;
|
|
|
+`;
|
|
|
|
|
|
const groupCompCls = css`
|
|
|
outline: 2px solid @inf-primary-color !important;
|