Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mallexxx committed Apr 12, 2024
1 parent 3247f92 commit abfe57b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DuckDuckGo/Tab/View/WebView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit abfe57b

Please sign in to comment.