Skip to content
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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ulugmer
Copy link

@ulugmer ulugmer commented Dec 21, 2023

Resolve Full-Screen Exit Issue on MacOS | Issue #330

@@ -98,24 +98,22 @@ export function createWindow(url?: string) {
window.webContents.send(ElectronEvent.FULLSCREEN_CHANGE, false);
});

window.on('close', (event) => {
window.on('close', (event) => {
Copy link
Owner

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.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

app.exit(0);
forceQuit.disable();
} else if (hasExtraWindows()) {
// Обычная логика закрытия
Copy link
Owner

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.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@ulugmer ulugmer requested a review from Ajaxy December 25, 2023 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants