diff --git a/Mac/MainWindow/IconView.swift b/Mac/MainWindow/IconView.swift index 2ae161548..46b96a75d 100644 --- a/Mac/MainWindow/IconView.swift +++ b/Mac/MainWindow/IconView.swift @@ -89,7 +89,8 @@ final class IconView: NSView { let color = NSApplication.shared.effectiveAppearance.isDarkMode ? IconView.darkBackgroundColor : IconView.lightBackgroundColor color.set() - dirtyRect.fill() + let r = NSIntersectionRect(dirtyRect, bounds) + r.fill() } }