Skip to content

Commit 47bdc88

Browse files
committed
handsomecode#94 - Bottom Side Menu style added.
1 parent cc802b0 commit 47bdc88

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Sources/MenuAnimator.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,13 @@ private extension MenuInteractiveTransition {
110110
action: #selector(MenuInteractiveTransition.handlePanDismission(recognizer:)))
111111
}
112112

113+
fromViewController.view.frame = CGRect(
114+
x: fromViewController.view.frame.origin.x,
115+
y: fromViewController.view.frame.origin.y,
116+
width: fromViewController.view.frame.size.width,
117+
height: fromViewController.view.frame.size.height + 55
118+
)
119+
113120
contentSnapshotView = createSnapshotView(from: fromViewController.view)
114121

115122
guard let contentSnapshotView = self.contentSnapshotView else {

0 commit comments

Comments
 (0)