run alert closing and button opacity
This commit is contained in:
@@ -492,6 +492,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
start_pause: function () {
|
start_pause: function () {
|
||||||
|
this.macrosLoading = false;
|
||||||
if (this.state.xx == "RUNNING") {
|
if (this.state.xx == "RUNNING") {
|
||||||
this.pause();
|
this.pause();
|
||||||
} else if (this.state.xx == "STOPPING" || this.state.xx == "HOLDING") {
|
} else if (this.state.xx == "STOPPING" || this.state.xx == "HOLDING") {
|
||||||
|
|||||||
@@ -226,7 +226,7 @@ script#control-view-template(type="text/x-template")
|
|||||||
|
|
||||||
.macros-div(class="present")
|
.macros-div(class="present")
|
||||||
button.macros-button(title="Click to run Macros",v-for="(index,macros) in config.macros",
|
button.macros-button(title="Click to run Macros",v-for="(index,macros) in config.macros",
|
||||||
@click="runMacros(index)",:disabled="!is_ready",v-bind:style="{ backgroundColor: macros.color }") {{macros.name}}
|
@click="runMacros(index)",:disabled="!is_ready",v-bind:style="{ backgroundColor: macros.color;opacity: is_ready ? '1' : '0.7' }") {{macros.name}}
|
||||||
|
|
||||||
.tabs
|
.tabs
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user