diff --git a/src/ui/main-window/ThumbnailView.swift b/src/ui/main-window/ThumbnailView.swift index d28187cd..e85ce260 100644 --- a/src/ui/main-window/ThumbnailView.swift +++ b/src/ui/main-window/ThumbnailView.swift @@ -68,7 +68,7 @@ class ThumbnailView: NSStackView { if let shouldShowWindowControls = shouldShowWindowControls_ { self.shouldShowWindowControls = shouldShowWindowControls } - let shouldShow = shouldShowWindowControls && isHighlighted && !Preferences.hideColoredCircles && !window_!.isWindowlessApp && !Preferences.hideThumbnails + let shouldShow = shouldShowWindowControls && !Preferences.hideColoredCircles && !window_!.isWindowlessApp && !Preferences.hideThumbnails if isShowingWindowControls != shouldShow { isShowingWindowControls = shouldShow [closeIcon, minimizeIcon, maximizeIcon].forEach { $0.isHidden = !shouldShow } @@ -210,7 +210,7 @@ class ThumbnailView: NSStackView { func mouseMoved() { showOrHideWindowControls(true) - if !isHighlighted { + if Preferences.mouseHoverEnabled && !isHighlighted { mouseMovedCallback() } hoverWindowControls() diff --git a/src/ui/main-window/ThumbnailsView.swift b/src/ui/main-window/ThumbnailsView.swift index a288475b..32d2875b 100644 --- a/src/ui/main-window/ThumbnailsView.swift +++ b/src/ui/main-window/ThumbnailsView.swift @@ -211,7 +211,7 @@ class ScrollView: NSScrollView { override func mouseMoved(with event: NSEvent) { // disable mouse hover during scrolling as it creates jank during elastic bounces at the start/end of the scrollview - if !Preferences.mouseHoverEnabled || isCurrentlyScrolling { return } + if isCurrentlyScrolling { return } if let hit = hitTest(App.app.thumbnailsPanel.mouseLocationOutsideOfEventStream) { var target: NSView? = hit while !(target is ThumbnailView) && target != nil {