mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-24 19:39:27 +08:00
ref: 超级面板功能优化
This commit is contained in:
@@ -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();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user