Permalink
Browse files

#2434 remove title bar line hiding view

  • Loading branch information...
abhibeckert committed Jun 5, 2016
1 parent ddc5c78 commit 7bdd7a0a30db584c1818b34cca18ad5269b57268
Showing with 1 addition and 8 deletions.
  1. +1 −8 Source/SPWindowControllerDelegate.m
@@ -40,7 +40,6 @@
@interface SPWindowController (SPDeclaredAPI)
- (void)_updateProgressIndicatorForItem:(NSTabViewItem *)theItem;
- (void)_updateLineHidingViewState;
- (void)_switchOutSelectedTableDocument:(SPDatabaseDocument *)newDoc;
@end
@@ -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];
}
/**
@@ -157,7 +152,6 @@ - (void)windowDidResize:(NSNotification *)notification
- (void)windowWillEnterFullScreen:(NSNotification *)notification
{
[selectedTableDocument updateTitlebarStatusVisibilityForcingHide:YES];
[self _updateLineHidingViewState];
}
/**
@@ -166,7 +160,6 @@ - (void)windowWillEnterFullScreen:(NSNotification *)notification
- (void)windowDidExitFullScreen:(NSNotification *)notification
{
[selectedTableDocument updateTitlebarStatusVisibilityForcingHide:NO];
[self _updateLineHidingViewState];
}
#pragma mark -

0 comments on commit 7bdd7a0

Please sign in to comment.