mirror of
https://github.com/zen-browser/desktop.git
synced 2026-04-01 05:11:52 +00:00
fix: Fixed context menu SVGs not having the correct color, b=no-bug, c=folders, workspaces
This commit is contained in:
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user