Skip to content

Commit 59c3d95

Browse files
authored
Corrected wrong type comparison (#4235)
For #4233
1 parent 9c200a5 commit 59c3d95

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Buildings/Utilities/Plotters/Configuration.mo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ Icon(coordinateSystem(preserveAspectRatio=false), graphics={
8181
textString="delay=%activationDelay"),
8282
Ellipse(
8383
extent={{-95,67},{-81,53}},
84-
lineColor=DynamicSelect({235,235,235}, if activate > 0.5 then {0,255,0}
84+
lineColor=DynamicSelect({235,235,235}, if activate then {0,255,0}
8585
else {235,235,235}),
86-
fillColor=DynamicSelect({235,235,235}, if activate > 0.5 then {0,255,0}
86+
fillColor=DynamicSelect({235,235,235}, if activate then {0,255,0}
8787
else {235,235,235}),
8888
fillPattern=FillPattern.Solid,
8989
visible=activation == Buildings.Utilities.Plotters.Types.GlobalActivation.use_input)}), Diagram(

0 commit comments

Comments
 (0)