From 78a3e3731ae783536fc9c54976026027cbd161c5 Mon Sep 17 00:00:00 2001 From: c-nguyen Date: Tue, 10 Apr 2018 17:02:04 +0900 Subject: [PATCH] [FIX] content frame filter calculation issue --- .../Scene/Presenter/Editor/FMImageEditorViewController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FMPhotoPicker/FMPhotoPicker/source/Scene/Presenter/Editor/FMImageEditorViewController.swift b/FMPhotoPicker/FMPhotoPicker/source/Scene/Presenter/Editor/FMImageEditorViewController.swift index 2667228..62fdc38 100644 --- a/FMPhotoPicker/FMPhotoPicker/source/Scene/Presenter/Editor/FMImageEditorViewController.swift +++ b/FMPhotoPicker/FMPhotoPicker/source/Scene/Presenter/Editor/FMImageEditorViewController.swift @@ -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 {