removes code comment

This commit is contained in:
Stuart Breckenridge
2021-03-07 21:34:52 +08:00
parent 86981a0c5b
commit 2e12f5a078

View File

@@ -145,7 +145,6 @@ final class DetailWebViewController: NSViewController, WKUIDelegate {
/// On macOS 11, when a user exits full screen, the webview's origin.y is offset by a sizeable amount. This function adjusts the height of the window height by 1pt which puts the webview back in the correct place. This is an issue with SwiftUI and AppKit.
@objc func bigSurOffsetFix(_ note: Notification) {
if #available(macOS 11, *) {
// On macOS 11, at the end of a resize down
guard var frame = self.view.window?.frame else {
return
}