mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-13 08:44:12 +03:00
Set dev tools view to the correct size
This commit is contained in:
parent
2dbd095cdc
commit
5ff8a5524e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user