phibr0 / obsidian-commander

Commander - Obsidian Plugin | Add Commands to every part of Obsidian's user interface
MIT License
681 stars 33 forks source link

[Bug]: two commands with same icon - different color #116

Open Smitty010 opened 9 months ago

Smitty010 commented 9 months ago

Describe the bug

I create two commands in my ribbon bar. Both are using (different) commands from the command palate. Both use the same icon, but each command has a different color.

What appears to happen is that the color for the second icon gets assigned to the first icon. The second icon looks grey. If I hover over them, I can see which command is assigned to which icon (and they are different as I would expect). They appear to work as expected but the color is wrong.

Not a showstopper, but a bit annoying.

Relevant errors (if available)

No response

Steps to reproduce

Create two commands in the ribbon bar. Use different commands from the command palate. Use the same icon, but a different color for each.

Expected Behavior

I would expect the two buttons to have the correct color

Additional context

No response

Operating system

Windows

Smitty010 commented 9 months ago

I should have added that the dialog in the commander options looks correct. image

The display in the ribbon bar looks like: image The top icon is the first (blue) command (but shows as red) and the second icon is the second (red) icon (but shows as grey)