Fix some coding style issues
This commit is contained in:
parent
eb9e0e5534
commit
18f5fcde60
4 changed files with 5 additions and 4 deletions
|
@ -243,13 +243,13 @@ bool ScopedDisableResize::disable_resize_ = false;
|
|||
return NO;
|
||||
}
|
||||
|
||||
- (NSRect)window:(NSWindow *)window willPositionSheet:(NSWindow *)sheet usingRect:(NSRect)rect {
|
||||
NSView * view = window.contentView;
|
||||
- (NSRect)window:(NSWindow*)window
|
||||
willPositionSheet:(NSWindow*)sheet usingRect:(NSRect)rect {
|
||||
NSView* view = window.contentView;
|
||||
rect.origin.y = view.frame.size.height - shell_->GetSheetOffset();
|
||||
return rect;
|
||||
}
|
||||
|
||||
|
||||
@end
|
||||
|
||||
@interface AtomNSWindow : NSWindow {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue