|
@@ -88,6 +88,7 @@ import PDFKit
|
|
|
@objc func didTap(_ recognizer: UITapGestureRecognizer) {
|
|
|
guard let navigationController = appDelegate.activeDetail.navigationController else { return }
|
|
|
|
|
|
+
|
|
|
if navigationController.isNavigationBarHidden {
|
|
|
|
|
|
navigationController.isNavigationBarHidden = false
|
|
@@ -97,6 +98,9 @@ import PDFKit
|
|
|
|
|
|
} else {
|
|
|
|
|
|
+ let point = recognizer.location(in: self)
|
|
|
+ if point.y > self.frame.height - thumbnailViewHeight { return }
|
|
|
+
|
|
|
navigationController.isNavigationBarHidden = true
|
|
|
pdfThumbnailView!.isHidden = true
|
|
|
backgroundColor = .black
|