Merge pull request #57 from padopolis/master
remember position and size of developer tools window
This commit is contained in:
commit
1467b18f25
1 changed files with 1 additions and 0 deletions
|
@ -156,6 +156,7 @@ void SetActive(content::WebContents* web_contents, bool active) {
|
|||
_private->window.delegate = self;
|
||||
_private->window.releasedWhenClosed = NO;
|
||||
_private->window.title = @"Developer Tools";
|
||||
_private->window.frameAutosaveName = @"brightray.developer.tools";
|
||||
[_private->window setAutorecalculatesContentBorderThickness:NO forEdge:NSMaxYEdge];
|
||||
[_private->window setContentBorderThickness:24 forEdge:NSMaxYEdge];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue