Skip to content

Commit 0882bef

Browse files
author
Anna Sahaidak
committed
Fix autoresizingMask for right menu position
1 parent b19740a commit 0882bef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SideMenu/MenuTransitionAnimator.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ extension MenuTransitionAnimator {
5252
case .right:
5353
let x = host.view.bounds.width - menu.preferredContentSize.width
5454
view.frame = CGRect(x: x, y: 0, width: menu.preferredContentSize.width, height: host.view.bounds.height)
55-
view.autoresizingMask = [.flexibleRightMargin, .flexibleHeight]
55+
view.autoresizingMask = [.flexibleLeftMargin, .flexibleHeight]
5656
}
5757

5858
view.translatesAutoresizingMaskIntoConstraints = true

0 commit comments

Comments
 (0)