Commit 8f813fc4 authored by Felix Paul Kühne's avatar Felix Paul Kühne

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

parent 84dc949e
...@@ -1972,14 +1972,6 @@ static VLCMainWindow *_o_sharedInstance = nil; ...@@ -1972,14 +1972,6 @@ static VLCMainWindow *_o_sharedInstance = nil;
#pragma mark - #pragma mark -
#pragma mark split view delegate #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 - (CGFloat)splitView:(NSSplitView *)splitView constrainMaxCoordinate:(CGFloat)proposedMax ofSubviewAt:(NSInteger)dividerIndex
{ {
if (dividerIndex == 0) 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