show left pannel

This commit is contained in:
Chowdhury, Shohrab 2019-05-17 10:35:54 -04:00
parent 91890011d8
commit d0a0957bb1

View File

@ -703,6 +703,7 @@ CGFloat const PanelAnimationDuration = 0.2;
self.leftView = panel.view;
self.leftPanel = panel;
NSLayoutConstraint *leftPanelWidth = [NSLayoutConstraint constraintWithItem:self.leftView attribute:NSLayoutAttributeWidth relatedBy:NSLayoutRelationEqual toItem:nil attribute:NSLayoutAttributeNotAnAttribute multiplier:1.0 constant:270];
self.leftView.translatesAutoresizingMaskIntoConstraints = NO;
leftPanelWidth.active = YES;
self.leftPanelWidth = leftPanelWidth;
[NSLayoutConstraint constraintWithItem:self.mainView attribute:NSLayoutAttributeLeft relatedBy:NSLayoutRelationEqual toItem:self.leftView attribute:NSLayoutAttributeRight multiplier:1.0 constant:0].active = YES;