marinofaggiana 5 年之前
父节点
当前提交
92e62a9090
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      iOSClient/Viewer/NCViewerPDF.swift

+ 2 - 0
iOSClient/Viewer/NCViewerPDF.swift

@@ -37,8 +37,10 @@ import PDFKit
     }
     
     override init(frame: CGRect) {
+        
         let height = frame.height - thumbnailViewHeight
         super.init(frame: CGRect(x: frame.origin.x, y: frame.origin.y, width: frame.width, height: height))
+        
         NotificationCenter.default.addObserver(self, selector: #selector(self.changeTheming), name: NSNotification.Name(rawValue: k_notificationCenter_changeTheming), object: nil)
     }