skinparam ArrowFontColor applies to condition block font color when pragma useVerticalIf used.

0 votes
asked Dec 30, 2021 in Bug by Semion

Hi!

I found that skinparam ArrowFontColor applies to condition block font color when pragma useVerticalIf used. Is this a bug?

@startuml

start

skinparam Arrow {

Color Red

FontColor Red

}

!pragma useVerticalIf on

if (condition) then (yes)

:...;

endif

if (condition) then (yes)

:...;

elseif (condition) then (yes)

:...;

endif

stop

@enduml

 

1 Answer

0 votes
answered Jan 2, 2022 by The-Lu (64,340 points)

Hello all,

It is not a bug, it occurs even without !pragma useVerticalIf, as:

If that can help,
Regards,
Th.

// Happy new year... and good PlantUML usage.. .//

commented Jan 3, 2022 by Martin (8,360 points)
Th - did you notice that in the OP diagram 2 instances of the word "condition" are in red font, but in your diagram all 3 instances are black font?  I believe this is what the OP is referring to.
commented Jan 3, 2022 by The-Lu (64,340 points)

Thanks Martin.

It is indeed a bug...

Thanks for the mention.
Regards,
Th.

...