Comment 3 for bug 367360

Revision history for this message
Alexandru Roman (alexandru.roman) wrote :

I think the problem is not with the already implemented function for swap fill and stroke because it is acting as it meant to be: swaping the 2 colors from the swatch. And, if multiple objects are selected, the colors from the swatch will be the avarage color of the objects.
I looked up into the code in order to find something to change to adapt the function working with multiple objects but I realised it is acting properly for his purpose.

So I made my own function based on the ObjectSet data structure. I also added a verb definition for a shortcut.

I attached the solution.