From 5ff8a5524ebe9b59b29ac37ec571117724cb1385 Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Wed, 29 Aug 2012 15:38:10 -0700 Subject: [PATCH] Set dev tools view to the correct size --- native/atom_window_controller.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/atom_window_controller.mm b/native/atom_window_controller.mm index ca35421eb..495c1fcad 100644 --- a/native/atom_window_controller.mm +++ b/native/atom_window_controller.mm @@ -82,7 +82,7 @@ } else if (_cefClient && _cefClient->GetBrowser()) { NSRect frame = NSMakeRect(0, 0, _splitView.frame.size.width, _splitView.frame.size.height); - _devToolsView = [[NSView alloc] initWithFrame:NSMakeRect(0,0,0,0)]; + _devToolsView = [[NSView alloc] initWithFrame:frame]; [_splitView addSubview:_devToolsView]; [_splitView adjustSubviews]; std::string devtools_url = _cefClient->GetBrowser()->GetHost()->GetDevToolsURL(true);