We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e54a442 commit 5711789Copy full SHA for 5711789
Submariner/SBViewController.m
@@ -301,7 +301,7 @@ - (void)viewDidAppear {
301
}
302
// Reset the holding priority, since we still want even resize,
303
// we just need to make the previous size stick.
304
- NSLayoutPriority oldPriority = [self->compensatedSplitView holdingPriorityForSubviewAtIndex: 1];
+ NSLayoutPriority oldPriority = [self->compensatedSplitView holdingPriorityForSubviewAtIndex: 0];
305
NSLayoutPriority otherPriority = [self->compensatedSplitView holdingPriorityForSubviewAtIndex: 1];
306
[self->compensatedSplitView setHoldingPriority: otherPriority forSubviewAtIndex: 0];
307
NSView *topItem = [self->compensatedSplitView.subviews objectAtIndex: 0];
0 commit comments