Skip to content

Commit 81eb06e

Browse files
committed
a
1 parent 401a490 commit 81eb06e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src-main/windows/editor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,8 @@ class EditorWindow extends ProjectRunningWindow {
251251
this.window.webContents.on('will-prevent-unload', () => {
252252
// Using showMessageBoxSync synchronously in the event handler causes broken focus on Windows.
253253
// See https://github.com/TurboWarp/desktop/issues/1245
254-
// To work around that, we'll won't cancel that will-prevent-unload event so the window stays
255-
// open. After a very short delay to let focus get fixed, we'll show the dialog and force close
254+
// To work around that, we won't cancel that will-prevent-unload event so the window stays
255+
// open. After a very short delay to let focus get fixed, we'll show a dialog and force close
256256
// the window ourselves if the user wants.
257257

258258
setTimeout(() => {

0 commit comments

Comments
 (0)