mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Set initial size of config window to 800x600
This commit is contained in:
committed by
Corey Johnson & Kevin Sawicki
parent
2d00d3e07e
commit
7518864938
@@ -96,6 +96,12 @@
|
||||
[self setWindowFrameAutosaveName:@"AtomWindow"];
|
||||
NSColor *background = [NSColor colorWithDeviceRed:(51.0/255.0) green:(51.0/255.0f) blue:(51.0/255.0f) alpha:1.0];
|
||||
[self.window setBackgroundColor:background];
|
||||
if (self.isConfig) {
|
||||
NSRect frame = self.window.frame;
|
||||
frame.size.width = 800;
|
||||
frame.size.height = 600;
|
||||
[self.window setFrame:frame display: YES];
|
||||
}
|
||||
[self showWindow:self];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user