mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-23 19:02:07 +03:00
Just make new windows have default scale, since I can't see how to get at the bw.
This all needs to be done in the core anyway.
This commit is contained in:
parent
7f2c977788
commit
8df71860d7
@ -70,7 +70,7 @@ static struct gui_window *gui_window_create(struct browser_window *bw,
|
||||
BrowserWindowController *window = nil;
|
||||
|
||||
if (existing != NULL) {
|
||||
bw->scale = existing->bw->scale;
|
||||
bw->scale = (float) nsoption_int(scale) / 100;
|
||||
window = [(BrowserViewController *)(existing) windowController];
|
||||
} else {
|
||||
bw->scale = (float) nsoption_int(scale) / 100;
|
||||
|
Loading…
Reference in New Issue
Block a user