Skip to content

Commit

Permalink
refactor(planeswalker): Adjust vertically nudge text function
Browse files Browse the repository at this point in the history
  • Loading branch information
Investigamer committed Apr 6, 2023
1 parent e3466a5 commit 152019e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/format_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ def vertically_nudge_pw_text(
leftover = (inside_gap - space) * movable

# Does the layer overlap with the loyalty box?
delta = check_for_text_overlap(bottom, top_reference, adj_reference)
delta = check_for_text_overlap(bottom, adj_reference, top_reference)
if delta > 0:
return

Expand Down

0 comments on commit 152019e

Please sign in to comment.