Skip to content

Commit

Permalink
#2434 remove title bar line hiding view
Browse files Browse the repository at this point in the history
  • Loading branch information
abhibeckert committed Jun 5, 2016
1 parent ddc5c78 commit 7bdd7a0
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions Source/SPWindowControllerDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
@interface SPWindowController (SPDeclaredAPI)

- (void)_updateProgressIndicatorForItem:(NSTabViewItem *)theItem;
- (void)_updateLineHidingViewState;
- (void)_switchOutSelectedTableDocument:(SPDatabaseDocument *)newDoc;

@end
Expand Down Expand Up @@ -128,14 +127,10 @@ - (void)windowDidResignKey:(NSNotification *)notification
*/
- (void)windowDidBecomeMain:(NSNotification *)notification
{
[self _updateLineHidingViewState];

}
- (void)windowDidResignMain:(NSNotification *)notification
{
[self _updateLineHidingViewState];

// Update the state again after a short delay to catch attached sheets being main
[self performSelector:@selector(_updateLineHidingViewState) withObject:nil afterDelay:0.1];
}

/**
Expand All @@ -157,7 +152,6 @@ - (void)windowDidResize:(NSNotification *)notification
- (void)windowWillEnterFullScreen:(NSNotification *)notification
{
[selectedTableDocument updateTitlebarStatusVisibilityForcingHide:YES];
[self _updateLineHidingViewState];
}

/**
Expand All @@ -166,7 +160,6 @@ - (void)windowWillEnterFullScreen:(NSNotification *)notification
- (void)windowDidExitFullScreen:(NSNotification *)notification
{
[selectedTableDocument updateTitlebarStatusVisibilityForcingHide:NO];
[self _updateLineHidingViewState];
}

#pragma mark -
Expand Down

0 comments on commit 7bdd7a0

Please sign in to comment.