]> git.sesse.net Git - vlc/commitdiff
macosx: allow the user to hide the sidebar (close #6088)
authorFelix Paul Kühne <fkuehne@videolan.org>
Sun, 4 Mar 2012 12:08:11 +0000 (13:08 +0100)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sun, 4 Mar 2012 12:08:11 +0000 (13:08 +0100)
modules/gui/macosx/MainWindow.m

index 22b673c57f54693dda17bfbe0a7492a3e1a50b5f..808018d8b96417c268dd85df960486027210a53d 100644 (file)
@@ -1972,14 +1972,6 @@ static VLCMainWindow *_o_sharedInstance = nil;
 
 #pragma mark -
 #pragma mark split view delegate
-- (CGFloat)splitView:(NSSplitView *)splitView constrainMinCoordinate:(CGFloat)proposedMin ofSubviewAt:(NSInteger)dividerIndex
-{
-    if (dividerIndex == 0)
-        return 200.0;
-    else
-        return proposedMin;
-}
-
 - (CGFloat)splitView:(NSSplitView *)splitView constrainMaxCoordinate:(CGFloat)proposedMax ofSubviewAt:(NSInteger)dividerIndex
 {
     if (dividerIndex == 0)