mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
mac: Should set default size when creating window.
This commit is contained in:
@@ -142,7 +142,7 @@ NativeWindowMac::NativeWindowMac(content::WebContents* web_contents,
|
||||
: NativeWindow(web_contents, options),
|
||||
is_kiosk_(false),
|
||||
attention_request_id_(0) {
|
||||
int width, height;
|
||||
int width = 800, height = 600;
|
||||
options->GetInteger(switches::kWidth, &width);
|
||||
options->GetInteger(switches::kHeight, &height);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user