Skip to content

Commit 5711789

Browse files
committed
oops, typo
1 parent e54a442 commit 5711789

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Submariner/SBViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ - (void)viewDidAppear {
301301
}
302302
// Reset the holding priority, since we still want even resize,
303303
// we just need to make the previous size stick.
304-
NSLayoutPriority oldPriority = [self->compensatedSplitView holdingPriorityForSubviewAtIndex: 1];
304+
NSLayoutPriority oldPriority = [self->compensatedSplitView holdingPriorityForSubviewAtIndex: 0];
305305
NSLayoutPriority otherPriority = [self->compensatedSplitView holdingPriorityForSubviewAtIndex: 1];
306306
[self->compensatedSplitView setHoldingPriority: otherPriority forSubviewAtIndex: 0];
307307
NSView *topItem = [self->compensatedSplitView.subviews objectAtIndex: 0];

0 commit comments

Comments
 (0)