File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
ECSlidingViewController/Vendor/ECSlidingViewController Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -312,16 +312,20 @@ - (void)underLeftWillAppear
312
312
{
313
313
[self addTopViewSnapshot ];
314
314
[self .topView addGestureRecognizer: self .resetTapGesture];
315
- [self .view bringSubviewToFront: self .underLeftView];
316
- [self .view bringSubviewToFront: self .topView];
315
+ if (self.underRightViewController ) {
316
+ self.underRightView .hidden = YES ;
317
+ }
318
+ self.underLeftView .hidden = NO ;
317
319
}
318
320
319
321
- (void )underRightWillAppear
320
322
{
321
323
[self addTopViewSnapshot ];
322
324
[self .topView addGestureRecognizer: self .resetTapGesture];
323
- [self .view bringSubviewToFront: self .underRightView];
324
- [self .view bringSubviewToFront: self .topView];
325
+ if (self.underLeftViewController ) {
326
+ self.underLeftView .hidden = YES ;
327
+ }
328
+ self.underRightView .hidden = NO ;
325
329
}
326
330
327
331
- (void )topDidReset
You can’t perform that action at this time.
0 commit comments