Skip to content

Applets/grouped-window-list: Fix spacing calculation to allow for values of 0px - #13940

Open
ElateTugboat wants to merge 1 commit into
linuxmint:masterfrom
ElateTugboat:fix-grouped-window-list-handling-values-of-zero
Open

Applets/grouped-window-list: Fix spacing calculation to allow for values of 0px#13940
ElateTugboat wants to merge 1 commit into
linuxmint:masterfrom
ElateTugboat:fix-grouped-window-list-handling-values-of-zero

Conversation

@ElateTugboat

@ElateTugboat ElateTugboat commented Aug 21, 2026

Copy link
Copy Markdown

When adding app icons to the taskbar, since !spacing will return true if it is 0, this will prevent themes from setting icon spacing to 0 pixels via cinnamon.css. Modifying it to check if the value is NaN will allow for 0 to count appropriately.

Since `!spacing` will return true if it is 0, this will prevent themes from having a margin of 0 pixels when set in `cinnamon.css`. Setting it to check if it is NaN will allow for 0 to count as a spacing value.
@ElateTugboat ElateTugboat changed the title Fix spacing calculation to allow for values of 0px Applets/grouped-window-list: Fix spacing calculation to allow for values of 0px Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant