parent
6aed12baa4
commit
c7f0571381
|
@ -742,6 +742,16 @@ export default defineComponent({
|
|||
return node.is_group;
|
||||
},
|
||||
addRow(insert_flag: boolean = false) {
|
||||
if (GlobalData.getInstance().modes.length <= 0) {
|
||||
$q.notify({
|
||||
color: "positive",
|
||||
icon: "warning",
|
||||
message: $t.t("mode is empty! please add mode first") + "!",
|
||||
position: "top",
|
||||
timeout: 1500,
|
||||
});
|
||||
return;
|
||||
}
|
||||
const item = {
|
||||
uuid: GlobalData.getInstance().modes[0].uuid,
|
||||
delay: __DEFAULT_DELAY,
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
<q-item
|
||||
clickable
|
||||
v-close-popup
|
||||
v-if="!$store.state.isSpecialVideo()"
|
||||
:disable="$props.disable"
|
||||
@click="$emit('edit_rect', $props.window.window_id)"
|
||||
>
|
||||
|
|
|
@ -362,4 +362,6 @@ export default {
|
|||
rotation: "Rotation",
|
||||
"multimedia rotation": "Multimedia Rotation",
|
||||
"please select multimedia rotation": "Please Select Multimedia Rotation",
|
||||
"mode is empty! please add mode first":
|
||||
"Mode Is Empty! Please Add Mode First",
|
||||
};
|
||||
|
|
|
@ -638,4 +638,5 @@ export default {
|
|||
rotation: "旋转",
|
||||
"multimedia rotation": "媒体旋转",
|
||||
"please select multimedia rotation": "请选择旋转值",
|
||||
"mode is empty! please add mode first": "当前没有模式,请先添加模式!",
|
||||
};
|
||||
|
|
|
@ -141,6 +141,7 @@
|
|||
icon="img:pad/toolbar/edit_window_rect.png"
|
||||
:label="$t('toolbar edit window rect')"
|
||||
class="col-auto"
|
||||
v-if="!$store.state.isSpecialVideo()"
|
||||
@click="editRect"
|
||||
/>
|
||||
|
||||
|
|
|
@ -155,6 +155,7 @@
|
|||
stretch
|
||||
no-caps
|
||||
flat
|
||||
v-if="!$store.state.isSpecialVideo()"
|
||||
stack
|
||||
:disable="plan_running || !$store.state.power_state"
|
||||
:icon="/*vertical_align_bottom*/ 'img:new_icon/edit_window_rect.png'"
|
||||
|
|
Loading…
Reference in New Issue