mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
Ladybird/AppKit: Move frameAutosaveName inside if block
This commit is contained in:
parent
0ce9dc4c8e
commit
b32b277192
Notes:
sideshowbarker
2024-07-16 22:26:05 +09:00
Author: https://github.com/bplaat Commit: https://github.com/SerenityOS/serenity/commit/b32b277192 Pull-request: https://github.com/SerenityOS/serenity/pull/21264
1 changed files with 3 additions and 3 deletions
|
@ -71,10 +71,10 @@ static constexpr CGFloat const WINDOW_HEIGHT = 800;
|
|||
backing:NSBackingStoreBuffered
|
||||
defer:NO];
|
||||
|
||||
// Remember last window position
|
||||
self.frameAutosaveName = @"window";
|
||||
|
||||
if (self) {
|
||||
// Remember last window position
|
||||
self.frameAutosaveName = @"window";
|
||||
|
||||
self.web_view = [[LadybirdWebView alloc] init:self];
|
||||
[self.web_view setPostsBoundsChangedNotifications:YES];
|
||||
|
||||
|
|
Loading…
Reference in a new issue