Skip to content

Commit

Permalink
Fix icon annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kormann committed Jan 20, 2025
1 parent e09fef6 commit b3e9b89
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 15 deletions.
9 changes: 2 additions & 7 deletions Modelica/Blocks/Math.mo
Original file line number Diff line number Diff line change
Expand Up @@ -1153,16 +1153,11 @@ y = u1 / u2;
smooth = Smooth.Bezier,
origin = {58, -66},
rotation = 270),
Line(
points = {{12, -60}, {12, -76}},
color = {200, 200, 200},
pattern = LinePattern.None,
smooth = Smooth.Bezier),
Line(points = {{20, -70}, {20, -62}}, color = {200, 200, 200}),
Line(points = {{-16,-70},{-16,-62}}, color = {200, 200, 200}),
Line(
points = {{0, -4}, {0, 4}},
color = {200, 200, 200},
origin = {-62, 16},
origin = {-62, 0},
rotation = 90)}),
Documentation(
info = "<html>
Expand Down
12 changes: 4 additions & 8 deletions Modelica/Blocks/Nonlinear.mo
Original file line number Diff line number Diff line change
Expand Up @@ -278,18 +278,15 @@ with derivative time constant <code>Td</code>. Smaller time constant <code>Td</c
Line(points = {{0, -80}, {0, 68}}, color = {192, 192, 192}),
Text(
extent = {{62, 32}, {80, 8}},
pattern = LinePattern.None,
lineColor = {0, 0, 0},
textColor = {0, 0, 0},
textString = "u"),
Text(
extent = {{-24, 84}, {-8, 64}},
pattern = LinePattern.None,
lineColor = {0, 0, 0},
textColor = {0, 0, 0},
textString = "y"),
Text(
extent = {{-82, 22}, {-12, 6}},
pattern = LinePattern.None,
lineColor = {0, 0, 0},
textColor = {0, 0, 0},
textString = "%threshold",
horizontalAlignment = TextAlignment.Right),
Line(points = {{-4, 10}, {2, 10}}, color = {192, 192, 192}),
Expand All @@ -316,8 +313,7 @@ with derivative time constant <code>Td</code>. Smaller time constant <code>Td</c
rotation = 270),
Text(
extent = {{8, -8}, {78, -24}},
pattern = LinePattern.None,
lineColor = {0, 0, 0},
textColor = {0, 0, 0},
horizontalAlignment = TextAlignment.Left,
textString = "-%threshold")}),
Documentation(
Expand Down

0 comments on commit b3e9b89

Please sign in to comment.