Commit 11743cc8 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: allow the user to hide the sidebar (close #6088)

(cherry picked from commit 8f813fc43ae83fa0d04d591a1f3c6b02b1d288e5)
parent a0b2de73
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment