Merge branch 'develop'

This commit is contained in:
Core 2022-01-30 03:17:41 +00:00
commit 4d4eaae9e8
No known key found for this signature in database
GPG key ID: FE9BF1B547F8F3C6

View file

@ -557,12 +557,7 @@
{{$root.getLz('settings.option.experimental.compactUI')}} {{$root.getLz('settings.option.experimental.compactUI')}}
</div> </div>
<div class="md-option-segment md-option-segment_auto"> <div class="md-option-segment md-option-segment_auto">
<button class="md-btn" <input type="checkbox" v-model="app.cfg.advanced.experiments.includes('compactui')" @click="app.cfg.advanced.experiments.includes('compactui') ? removeExperiment('compactui') : addExperiment('compactui')" switch/>
:class="{'md-btn-primary': app.cfg.advanced.experiments.includes('compactui')}"
@click="app.cfg.advanced.experiments.includes('compactui') ? removeExperiment('compactui') : addExperiment('compactui')">
{{app.cfg.advanced.experiments.includes('compactui') ? $root.getLz('term.disabled') :
$root.getLz('term.enabled')}}
</button>
</div> </div>
</div> </div>
@ -748,7 +743,7 @@
}, },
sendDataToMTT: function () { sendDataToMTT: function () {
ipcRenderer.invoke('setStoreValue', 'general.close_behavior', app.cfg.general.close_behavior); ipcRenderer.invoke('setStoreValue', 'general.close_behavior', app.cfg.general.close_behavior);
} },
} }
}) })
</script> </script>