@@ -336,7 +336,7 @@ class KMNAlertTipViewController: KMNBaseViewController {
alertHeight += 32.0
}
- if OCRComponentAlert.superview != nil {
+ if OCRComponentAlert.superview != nil && OCRComponentAlert.isHidden == false {
if alertHeight > 0 {
alertHeight += 1