From edabbd3af14516c58917f1b2b1154ce50db75ce3 Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Mon, 30 May 2022 10:32:12 +0200 Subject: [PATCH] chore: leave Resizable mask in place --- shell/browser/ui/cocoa/electron_ns_window_delegate.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shell/browser/ui/cocoa/electron_ns_window_delegate.mm b/shell/browser/ui/cocoa/electron_ns_window_delegate.mm index 2b357ad7a8151..f9b7a1170d1de 100644 --- a/shell/browser/ui/cocoa/electron_ns_window_delegate.mm +++ b/shell/browser/ui/cocoa/electron_ns_window_delegate.mm @@ -238,8 +238,9 @@ - (void)windowWillEnterFullScreen:(NSNotification*)notification { shell_->NotifyWindowWillEnterFullScreen(); - // Save resizable value before entering fullscreen. + // Setting resizable to true before entering fullscreen. is_resizable_ = shell_->IsResizable(); + shell_->SetResizable(true); } - (void)windowDidEnterFullScreen:(NSNotification*)notification {