From abfe57b7f4cd5a3fef7a607fb225384816934801 Mon Sep 17 00:00:00 2001 From: Alexey Martemyanov Date: Fri, 12 Apr 2024 22:14:55 +0600 Subject: [PATCH] fix comment --- DuckDuckGo/Tab/View/WebView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DuckDuckGo/Tab/View/WebView.swift b/DuckDuckGo/Tab/View/WebView.swift index 5caba25d04..839a41bd91 100644 --- a/DuckDuckGo/Tab/View/WebView.swift +++ b/DuckDuckGo/Tab/View/WebView.swift @@ -41,7 +41,7 @@ final class WebView: WKWebView { override func addTrackingArea(_ trackingArea: NSTrackingArea) { var trackingArea = trackingArea - /// swizzle NSTrackingArea.init method to insert TrackingAreaSuppressor proxy owner + /// replace NSTrackingArea with owner proxied with TrackingAreaSuppressor. /// it will disable mouseEntered/mouseMoved/mouseExited events passing to Web View while it‘s loading /// see https://app.asana.com/0/1177771139624306/1206990108527681/f if let mouseTrackingObserver = trackingArea.owner, mouseTrackingObserver.className == "WKMouseTrackingObserver" {