mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-30 07:39:54 +08:00
✨ 支持系统菜单功能
This commit is contained in:
@@ -53,7 +53,10 @@ export default () => {
|
||||
|
||||
// 判断失焦是否隐藏
|
||||
win.on("blur", () => {
|
||||
app.isPackaged && win.hide();
|
||||
const config = { ...global.OP_CONFIG.get() };
|
||||
if (config.perf.common.hideOnBlur) {
|
||||
win.hide();
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user