diff --git a/src/renderer/App.vue b/src/renderer/App.vue index 7707e65..88cfa75 100644 --- a/src/renderer/App.vue +++ b/src/renderer/App.vue @@ -59,14 +59,6 @@ - - -
+ + +
@@ -340,6 +344,7 @@ export default { showMain: false, options: [], }); + this.setHideOnBlur(true); ipcRenderer.send("changeWindowSize-rubick", { height: getWindowHeight([]), }); @@ -411,6 +416,11 @@ export default { cfg.perf.common.hideOnBlur = !cfg.perf.common.hideOnBlur; this.config = cfg; }, + setHideOnBlur(v) { + let cfg = { ...this.config }; + cfg.perf.common.hideOnBlur = v; + this.config = cfg; + }, }, computed: { ...mapState("main", [