Skip to content

Commit 4a39b8d

Browse files
committed
Whitespace
1 parent c29ec93 commit 4a39b8d

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

ECSlidingViewController/Vendor/ECSlidingViewController/ECSlidingViewController.m

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -454,17 +454,17 @@ - (void)topViewHorizontalCenterDidChange:(CGFloat)newHorizontalCenter
454454

455455
- (void)addTopViewSnapshot
456456
{
457-
if (!self.topViewSnapshot.superview && !self.shouldAllowUserInteractionsWhenAnchored) {
458-
topViewSnapshot.layer.contents = (id)[UIImage imageWithUIView:self.topView].CGImage;
459-
460-
if (self.shouldAddPanGestureRecognizerToTopViewSnapshot && (_resetStrategy & ECPanning)) {
461-
if (!_topViewSnapshotPanGesture) {
462-
_topViewSnapshotPanGesture = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(updateTopViewHorizontalCenterWithRecognizer:)];
463-
}
464-
[topViewSnapshot addGestureRecognizer:_topViewSnapshotPanGesture];
465-
}
466-
[self.topView addSubview:self.topViewSnapshot];
457+
if (!self.topViewSnapshot.superview && !self.shouldAllowUserInteractionsWhenAnchored) {
458+
topViewSnapshot.layer.contents = (id)[UIImage imageWithUIView:self.topView].CGImage;
459+
460+
if (self.shouldAddPanGestureRecognizerToTopViewSnapshot && (_resetStrategy & ECPanning)) {
461+
if (!_topViewSnapshotPanGesture) {
462+
_topViewSnapshotPanGesture = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(updateTopViewHorizontalCenterWithRecognizer:)];
463+
}
464+
[topViewSnapshot addGestureRecognizer:_topViewSnapshotPanGesture];
467465
}
466+
[self.topView addSubview:self.topViewSnapshot];
467+
}
468468
}
469469

470470
- (void)removeTopViewSnapshot

0 commit comments

Comments
 (0)