Skip to content

Commit

Permalink
feat: hide space labels when showing same-space windows (closes #3766)
Browse files Browse the repository at this point in the history
  • Loading branch information
lwouis committed Nov 1, 2024
1 parent 81fb54c commit ad64ced
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ui/main-window/ThumbnailView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,8 @@ class ThumbnailView: NSStackView {
assignIfDifferent(&hiddenIcon.isHidden, !element.isHidden || Preferences.hideStatusIcons)
assignIfDifferent(&fullscreenIcon.isHidden, !element.isFullscreen || Preferences.hideStatusIcons)
assignIfDifferent(&minimizedIcon.isHidden, !element.isMinimized || Preferences.hideStatusIcons)
assignIfDifferent(&spaceIcon.isHidden, element.isWindowlessApp || Spaces.isSingleSpace() || Preferences.hideSpaceNumberLabels)
assignIfDifferent(&spaceIcon.isHidden, element.isWindowlessApp || Spaces.isSingleSpace() || Preferences.hideSpaceNumberLabels
|| (NSScreen.screens.count < 2 && Preferences.spacesToShow[App.app.shortcutIndex] == .visible))
if !spaceIcon.isHidden {
if element.spaceIndex > 30 || element.isOnAllSpaces {
spaceIcon.setStar()
Expand Down

0 comments on commit ad64ced

Please sign in to comment.