mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 19:15:06 +00:00
Ladybird/AppKit: Move frameAutosaveName inside if block
This commit is contained in:
parent
0ce9dc4c8e
commit
b32b277192
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…
Add table
Add a link
Reference in a new issue