Skip to content

Commit

Permalink
Do not preserveAspectRatio for terminate-block.
Browse files Browse the repository at this point in the history
The reason is that you want to write an expression and it is natural
to adapt the length of the block to the expression, which will give different aspect ratios.
This is consistent with the source-block BooleanExpression.
  • Loading branch information
HansOlsson committed May 12, 2022
1 parent 80325f8 commit 8a78459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modelica/Blocks/Logical.mo
Expand Up @@ -942,7 +942,7 @@ The output <code>Q</code> is set by the input <code>S</code>, is reset by the in
terminate(terminationText);
end when;
annotation (Icon(
coordinateSystem(preserveAspectRatio=true,
coordinateSystem(preserveAspectRatio=false,
extent={{-200,-20},{200,20}},
initialScale=0.2),
graphics={
Expand Down

0 comments on commit 8a78459

Please sign in to comment.