From 152019e672f118a09cd1e58b12bead99156537ca Mon Sep 17 00:00:00 2001 From: MrTeferi Date: Thu, 6 Apr 2023 02:06:33 -0500 Subject: [PATCH] refactor(planeswalker): Adjust vertically nudge text function --- src/format_text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/format_text.py b/src/format_text.py index ceec60a7..adf1203c 100644 --- a/src/format_text.py +++ b/src/format_text.py @@ -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