Skip to content

Commit

Permalink
⚡ Improve preview window position on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
CosmoMyzrailGorynych committed Mar 1, 2020
1 parent 501b58c commit da4a0e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/riotTags/main-menu.tag
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ main-menu.flexcol
}
});
previewWindow.setMenuBarVisibility(false);
previewWindow.maximize();
previewWindow.loadURL(`http://localhost:${server.address().port}`);
previewWindow.focus();
previewWindow.webContents.openDevTools();
Expand Down

0 comments on commit da4a0e4

Please sign in to comment.