ref: 超级面板功能优化

This commit is contained in:
muwoo 2021-08-17 17:38:44 +08:00
parent ea78658bfd
commit 39422860d7
4 changed files with 8 additions and 2 deletions

View File

@ -215,6 +215,10 @@ class Listener {
});
const pos = this.getPos(robot.getMousePos());
win.setPosition(parseInt(pos.x), parseInt(pos.y));
win.setAlwaysOnTop(true);
win.setVisibleOnAllWorkspaces(true, {visibleOnFullScreen: true});
win.focus();
win.setVisibleOnAllWorkspaces(false, {visibleOnFullScreen: true});
win.show();
});
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -40,8 +40,8 @@
background: #314659;
}
.top .img img {
width: 22px;
height: 22px;
width: 26px;
height: 26px;
}
.top .text {
color: #999;

View File

@ -181,6 +181,8 @@ new Vue({
...JSON.parse(res),
src: msg,
});
}).catch(() => {
this.$set(this.selectData, 'translate', null);
}).finally(() => {
this.loading = false;
})