fix: Fixed context menu SVGs not having the correct color, b=no-bug, c=folders, workspaces

This commit is contained in:
Mr. M
2025-08-26 10:01:06 +02:00
parent d2a6e18452
commit c61891fe2b
4 changed files with 11 additions and 2 deletions

View File

@@ -1237,6 +1237,7 @@ var gZenWorkspaces = new (class extends nsZenMultiWindowFeature {
item.setAttribute('label', name);
if (iconIsSvg) {
item.setAttribute('image', workspace.icon);
item.classList.add('zen-workspace-context-icon');
}
item.addEventListener('command', (e) => {
this.changeWorkspaceWithID(e.target.closest('menuitem').getAttribute('zen-workspace-id'));