parent
6aed12baa4
commit
c7f0571381
|
@ -742,6 +742,16 @@ export default defineComponent({
|
||||||
return node.is_group;
|
return node.is_group;
|
||||||
},
|
},
|
||||||
addRow(insert_flag: boolean = false) {
|
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 = {
|
const item = {
|
||||||
uuid: GlobalData.getInstance().modes[0].uuid,
|
uuid: GlobalData.getInstance().modes[0].uuid,
|
||||||
delay: __DEFAULT_DELAY,
|
delay: __DEFAULT_DELAY,
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
<q-item
|
<q-item
|
||||||
clickable
|
clickable
|
||||||
v-close-popup
|
v-close-popup
|
||||||
|
v-if="!$store.state.isSpecialVideo()"
|
||||||
:disable="$props.disable"
|
:disable="$props.disable"
|
||||||
@click="$emit('edit_rect', $props.window.window_id)"
|
@click="$emit('edit_rect', $props.window.window_id)"
|
||||||
>
|
>
|
||||||
|
|
|
@ -362,4 +362,6 @@ export default {
|
||||||
rotation: "Rotation",
|
rotation: "Rotation",
|
||||||
"multimedia rotation": "Multimedia Rotation",
|
"multimedia rotation": "Multimedia Rotation",
|
||||||
"please select multimedia rotation": "Please Select 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: "旋转",
|
rotation: "旋转",
|
||||||
"multimedia rotation": "媒体旋转",
|
"multimedia rotation": "媒体旋转",
|
||||||
"please select 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"
|
icon="img:pad/toolbar/edit_window_rect.png"
|
||||||
:label="$t('toolbar edit window rect')"
|
:label="$t('toolbar edit window rect')"
|
||||||
class="col-auto"
|
class="col-auto"
|
||||||
|
v-if="!$store.state.isSpecialVideo()"
|
||||||
@click="editRect"
|
@click="editRect"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|
|
@ -155,6 +155,7 @@
|
||||||
stretch
|
stretch
|
||||||
no-caps
|
no-caps
|
||||||
flat
|
flat
|
||||||
|
v-if="!$store.state.isSpecialVideo()"
|
||||||
stack
|
stack
|
||||||
:disable="plan_running || !$store.state.power_state"
|
:disable="plan_running || !$store.state.power_state"
|
||||||
:icon="/*vertical_align_bottom*/ 'img:new_icon/edit_window_rect.png'"
|
:icon="/*vertical_align_bottom*/ 'img:new_icon/edit_window_rect.png'"
|
||||||
|
|
Loading…
Reference in New Issue