backward activity style overrides diamond style

0 votes
asked Jul 19 in Bug by anonymous
First repeat loop with no style on backward activity has diamond style applied, second repeat loop with style on backward activity applies to both the activity and the diamonds as well.

@startuml

<style>
  activityDiagram {
    diamond {
      backgroundColor Red
    }
  }
  .stereotype {
    backgroundColor Blue
  }
</style>

repeat
  :stuff;
  backward:backward stuff; <<stereotype>>
repeat while (maybe)

repeat
  :stuff;
  backward:backward stuff;
repeat while (maybe)

@enduml
 

https://www.plantuml.com/plantuml/uml/bOxHoi8m38NlynIv_FyRlPzb3FK9V8DipMQnNKUREehuxifM4GGl30GIplbEqaIX8CbP01KbMwu1aJenLoFvQ6W8vF06-2njoFbHbmsnfUuo19z6VV3M1ponNfGxhBs9me6zv8aByqdiRUB5hBRbDWIUc0GGgoYfxtUmKZC5NRq6BDBgnVbiBEEVezpo_qy9gDJxnxh-4WZGyAYJimy0
commented Jul 19 by The-Lu (74,900 points)

Hello A.,

Thanks for the report, that is a bug.

I have just updated the original request here:

Regards,
Th.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...