Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
1e5133e6b1
1 changed files with 1 additions and 3 deletions
|
@ -766,9 +766,7 @@ app.whenReady().then(() => {
|
|||
const mainWindow = item.browserWindow;
|
||||
if (mainWindow.isMinimized()) {
|
||||
mainWindow.restore();
|
||||
if (!mainWindow.isVisible()) {
|
||||
mainWindow.show();
|
||||
}
|
||||
mainWindow.show(); // 按 `Alt+M` 后隐藏窗口,再次按 `Alt+M` 显示窗口后会卡住不能编辑 https://github.com/siyuan-note/siyuan/issues/8456
|
||||
} else {
|
||||
if (mainWindow.isVisible()) {
|
||||
if (1 === workspaces.length) { // 改进 `Alt+M` 激活窗口 https://github.com/siyuan-note/siyuan/issues/7258
|
||||
|
|
Loading…
Add table
Reference in a new issue