mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🐛 按 Alt+M 后隐藏窗口,再次按 Alt+M 显示窗口后会卡住不能编辑 https://github.com/siyuan-note/siyuan/issues/8456 Fix https://github.com/siyuan-note/siyuan/issues/8456
This commit is contained in:
parent
118db38db4
commit
9a8ebd536d
1 changed files with 1 additions and 3 deletions
|
|
@ -766,9 +766,7 @@ app.whenReady().then(() => {
|
||||||
const mainWindow = item.browserWindow;
|
const mainWindow = item.browserWindow;
|
||||||
if (mainWindow.isMinimized()) {
|
if (mainWindow.isMinimized()) {
|
||||||
mainWindow.restore();
|
mainWindow.restore();
|
||||||
if (!mainWindow.isVisible()) {
|
mainWindow.show(); // 按 `Alt+M` 后隐藏窗口,再次按 `Alt+M` 显示窗口后会卡住不能编辑 https://github.com/siyuan-note/siyuan/issues/8456
|
||||||
mainWindow.show();
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
if (mainWindow.isVisible()) {
|
if (mainWindow.isVisible()) {
|
||||||
if (1 === workspaces.length) { // 改进 `Alt+M` 激活窗口 https://github.com/siyuan-note/siyuan/issues/7258
|
if (1 === workspaces.length) { // 改进 `Alt+M` 激活窗口 https://github.com/siyuan-note/siyuan/issues/7258
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue