From 7cd774bb91aaef561a530ec1daf89dda88aacd6a Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Sun, 29 Oct 2023 15:05:31 +0700 Subject: [PATCH] Don't draw border pencil marks if we have center ones --- pydoku.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pydoku.py b/pydoku.py index be2c45d..a8d424e 100644 --- a/pydoku.py +++ b/pydoku.py @@ -149,11 +149,11 @@ def draw_numbers(): screen.blit(digit, pos) continue - if pencil_marks[idx].border: - draw_pm_border(row, col, idx) if pencil_marks[idx].center: draw_pm_center(row, col, idx) - # continue + continue + if pencil_marks[idx].border: + draw_pm_border(row, col, idx) def draw_hud(): screen.blit(title, (screen.get_width() // 2 - title.get_width() // 2, 70))