save settings when changing parameters
This commit is contained in:
parent
c85f211d5e
commit
e54deeb4f7
@ -7,7 +7,11 @@
|
|||||||
<div class="flex flex-col compact-form">
|
<div class="flex flex-col compact-form">
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<div class="label">Enable in-player UI</div>
|
<div class="label">Enable in-player UI</div>
|
||||||
<input type="checkbox" v-model="settings.active.ui.inPlayer.enabled" />
|
<input
|
||||||
|
type="checkbox"
|
||||||
|
v-model="settings.active.ui.inPlayer.enabled"
|
||||||
|
@change="saveSettings()"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="flex flex-col field-group compact-form"
|
class="flex flex-col field-group compact-form"
|
||||||
@ -26,6 +30,7 @@
|
|||||||
<select
|
<select
|
||||||
v-model="settings.active.ui.inPlayer.alignment"
|
v-model="settings.active.ui.inPlayer.alignment"
|
||||||
@click="setUiOption('alignment', $event)"
|
@click="setUiOption('alignment', $event)"
|
||||||
|
@change="saveSettings()"
|
||||||
>
|
>
|
||||||
<option value="left">Left</option>
|
<option value="left">Left</option>
|
||||||
<option value="right">Right</option>
|
<option value="right">Right</option>
|
||||||
@ -41,6 +46,7 @@
|
|||||||
<select
|
<select
|
||||||
v-model="settings.active.ui.inPlayer.activation"
|
v-model="settings.active.ui.inPlayer.activation"
|
||||||
@click="setUiOption('', $event)"
|
@click="setUiOption('', $event)"
|
||||||
|
@change="saveSettings()"
|
||||||
>
|
>
|
||||||
<option value="player">
|
<option value="player">
|
||||||
When mouse hovers over player
|
When mouse hovers over player
|
||||||
@ -134,7 +140,9 @@ export default {
|
|||||||
setUiPage(key, event) {
|
setUiPage(key, event) {
|
||||||
|
|
||||||
},
|
},
|
||||||
|
saveSettings() {
|
||||||
|
this.settings.saveWithoutReload();
|
||||||
|
},
|
||||||
startTriggerZoneEdit() {
|
startTriggerZoneEdit() {
|
||||||
this.eventBus.send('start-trigger-zone-edit');
|
this.eventBus.send('start-trigger-zone-edit');
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user