eclipse-capella / capella

Open Source Solution for Model-Based Systems Engineering
https://mbse-capella.org
Eclipse Public License 2.0
232 stars 96 forks source link

Diagram styler on coloured components #2781

Open AntoFraga opened 9 months ago

AntoFraga commented 9 months ago

Hello, there's an issue I can't solve on Capella. I accidentally assigned a color (in this case, yellow) to a port using the curtain, and now the diagram styler doesn't work on it anymore. In other words, all the other ports change color, but the one where I set the default yellow color remains yellow.

If it helps, I noticed that when I select the port and go to properties -> style -> description, I see 'Square_CAP_PhysicalPort_Yellow,' whereas for the other ports, there's 'Square StylerComputedColor.'

I thought that by selecting this description for the yellow connector, the problem would be resolved. However, every time I apply the diagram styler, this description disappears, and 'Square_CAP_PhysicalPort_Yellow' returns.

I hope I've been clear enough