From 2e12f5a078f5c3a5223ccf039cab94df6dfb983d Mon Sep 17 00:00:00 2001 From: Stuart Breckenridge Date: Sun, 7 Mar 2021 21:34:52 +0800 Subject: [PATCH] removes code comment --- Mac/MainWindow/Detail/DetailWebViewController.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/Mac/MainWindow/Detail/DetailWebViewController.swift b/Mac/MainWindow/Detail/DetailWebViewController.swift index 5ad51eae5..5c6f9a5ed 100644 --- a/Mac/MainWindow/Detail/DetailWebViewController.swift +++ b/Mac/MainWindow/Detail/DetailWebViewController.swift @@ -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 }