feat: hide space labels when showing same-space windows (closes #3766)
This commit is contained in:
1 parent
81fb54cff5
commit
ad64ced2df
1 file changed
+2
-1
@@ -308,7 +308,8 @@ class ThumbnailView: NSStackView {
|
|||||||
assignIfDifferent(&hiddenIcon.isHidden, !element.isHidden || Preferences.hideStatusIcons)
|
assignIfDifferent(&hiddenIcon.isHidden, !element.isHidden || Preferences.hideStatusIcons)
|
||||||
assignIfDifferent(&fullscreenIcon.isHidden, !element.isFullscreen || Preferences.hideStatusIcons)
|
assignIfDifferent(&fullscreenIcon.isHidden, !element.isFullscreen || Preferences.hideStatusIcons)
|
||||||
assignIfDifferent(&minimizedIcon.isHidden, !element.isMinimized || 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 !spaceIcon.isHidden {
|
||||||
if element.spaceIndex > 30 || element.isOnAllSpaces {
|
if element.spaceIndex > 30 || element.isOnAllSpaces {
|
||||||
spaceIcon.setStar()
|
spaceIcon.setStar()
|
||||||
|
|||||||
Reference in new issue
Block a user