-
Notifications
You must be signed in to change notification settings - Fork 687
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resolve Full-Screen Exit Issue on MacOS | Issue #330 #333
base: master
Are you sure you want to change the base?
Conversation
Resolve Full-Screen Exit Issue on MacOS Application | issue Ajaxy#330
src/electron/window.ts
Outdated
@@ -98,24 +98,22 @@ export function createWindow(url?: string) { | |||
window.webContents.send(ElectronEvent.FULLSCREEN_CHANGE, false); | |||
}); | |||
|
|||
window.on('close', (event) => { | |||
window.on('close', (event) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make sure to pass ESLint pre-commit checks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
src/electron/window.ts
Outdated
app.exit(0); | ||
forceQuit.disable(); | ||
} else if (hasExtraWindows()) { | ||
// Обычная логика закрытия |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use English for comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Resolve Full-Screen Exit Issue on MacOS | Issue #330