Skip to content

Commit 34353dd

Browse files
committed
Add backward compatibility for UpdateSkinparamsAndLegendEntry.
1 parent 621a191 commit 34353dd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

C4.puml

+5
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,11 @@ $defineSkinparams($elementName, $bgColor, $fontColor, $borderColor, $shadowing)
315315
%set_variable_value("$" + $elementName + "LegendEntry", $tagEntry)
316316
!endprocedure
317317

318+
/' @deprecated in favor of UpdateElementStyle '/
319+
!unquoted procedure UpdateSkinparamsAndLegendEntry($elementName, $bgColor="", $fontColor="", $borderColor="", $shadowing="")
320+
UpdateElementStyle($elementName, $bgColor, $fontColor, $borderColor, $shadowing)
321+
!endprocedure
322+
318323
' update the style of default relation, it has to set both properties (combined statement not working)
319324
!unquoted procedure UpdateRelStyle($textColor, $lineColor)
320325
!$elementSkin = "skinparam Arrow {" + %newline()

0 commit comments

Comments
 (0)