fix(command_palette): full screen not working on the browser

This commit is contained in:
Elian Doran
2025-07-30 22:50:08 +03:00
parent baf341b312
commit 54e3ab5139

View File

@@ -113,7 +113,9 @@ export default class Entrypoints extends Component {
if (win.isFullScreenable()) { if (win.isFullScreenable()) {
win.setFullScreen(!win.isFullScreen()); win.setFullScreen(!win.isFullScreen());
} }
} // outside of electron this is handled by the browser } else {
document.documentElement.requestFullscreen();
}
} }
reloadFrontendAppCommand() { reloadFrontendAppCommand() {