Skip to content

Commit

Permalink
Add unconfigured tags to third extra line
Browse files Browse the repository at this point in the history
  • Loading branch information
bobleesj committed Oct 20, 2024
1 parent 082a6d1 commit 0a151e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/system/ternary.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ def draw_extra_frame(pair, p1_x, p1_y, p2_x, p2_y):
elif tag in TAGS_IN_SECOND_EXTRA_LINE:
center_pt = shift_points_xy(center_pt, 0.0, -0.2)
draw_extra_frame("RM", 0.0, -0.2, 0.0, -0.2)
elif tag in TAGS_IN_THIRD_EXTRA_LINE:
elif tag in TAGS_IN_THIRD_EXTRA_LINE or tag is not None:
center_pt = shift_points_xy(center_pt, 0.0, -0.3)
draw_extra_frame("RM", 0.0, -0.3, 0.0, -0.3)

Expand All @@ -387,7 +387,7 @@ def draw_extra_frame(pair, p1_x, p1_y, p2_x, p2_y):
elif tag in TAGS_IN_SECOND_EXTRA_LINE:
center_pt = shift_points_xy(center_pt, 0.2, 0.0)
draw_extra_frame("MX", 0.2, 0.0, 0.2, 0.0)
elif tag in TAGS_IN_THIRD_EXTRA_LINE:
elif tag in TAGS_IN_THIRD_EXTRA_LINE or tag is not None:
center_pt = shift_points_xy(center_pt, 0.3, 0.0)
draw_extra_frame("MX", 0.3, 0.0, 0.3, 0.0)
# ErIn
Expand All @@ -401,7 +401,7 @@ def draw_extra_frame(pair, p1_x, p1_y, p2_x, p2_y):
elif tag in TAGS_IN_SECOND_EXTRA_LINE:
center_pt = shift_points_xy(center_pt, -0.2, 0.0)
draw_extra_frame("RX", -0.2, 0.0, -0.2, 0.0)
elif tag in TAGS_IN_THIRD_EXTRA_LINE:
elif tag in TAGS_IN_THIRD_EXTRA_LINE or tag is not None:
center_pt = shift_points_xy(center_pt, -0.3, 0.0)
draw_extra_frame("RX", -0.3, 0.0, -0.3, 0.0)

Expand Down

0 comments on commit 0a151e8

Please sign in to comment.