mirror of
https://github.com/rubickCenter/rubick
synced 2025-06-21 20:05:12 +08:00
ref: 超级面板功能优化
This commit is contained in:
parent
ea78658bfd
commit
39422860d7
@ -215,6 +215,10 @@ class Listener {
|
|||||||
});
|
});
|
||||||
const pos = this.getPos(robot.getMousePos());
|
const pos = this.getPos(robot.getMousePos());
|
||||||
win.setPosition(parseInt(pos.x), parseInt(pos.y));
|
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();
|
win.show();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 15 KiB |
@ -40,8 +40,8 @@
|
|||||||
background: #314659;
|
background: #314659;
|
||||||
}
|
}
|
||||||
.top .img img {
|
.top .img img {
|
||||||
width: 22px;
|
width: 26px;
|
||||||
height: 22px;
|
height: 26px;
|
||||||
}
|
}
|
||||||
.top .text {
|
.top .text {
|
||||||
color: #999;
|
color: #999;
|
||||||
|
@ -181,6 +181,8 @@ new Vue({
|
|||||||
...JSON.parse(res),
|
...JSON.parse(res),
|
||||||
src: msg,
|
src: msg,
|
||||||
});
|
});
|
||||||
|
}).catch(() => {
|
||||||
|
this.$set(this.selectData, 'translate', null);
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user