Skip to content

Commit

Permalink
[FIX] content frame filter calculation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
c-nguyen committed Apr 10, 2018
1 parent e6e5a22 commit 78a3e37
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -439,9 +439,9 @@ public class FMImageEditorViewController: UIViewController {

private func contentFrameFilter() -> CGRect {
return CGRect(x: 0,
y: topMenuContainter.frame.height,
y: transparentViewHeightConstraint.constant,
width: view.bounds.width,
height: view.bounds.height - topMenuContainter.frame.height - bottomMenuContainer.frame.height - subMenuContainer.frame.height)
height: view.bounds.height - transparentViewHeightConstraint.constant - bottomMenuContainer.frame.height - subMenuContainer.frame.height - unsafeAreaBottomViewHeightConstraint.constant)
}

private func contentFrameFullScreen() -> CGRect {
Expand Down

0 comments on commit 78a3e37

Please sign in to comment.