Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Jun 26, 2023
1 parent a05c3c9 commit 6bb322e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyg_sudoku.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ def check_input(current_index, in_list):
elif event.type == KEYDOWN:
if event.unicode in numbers:
change_index = -1
for i, input_boxes in enumerate(input_boxes):
if input_boxes.collidepoint(mouse_pos) and not box_init[i]:
for i, input_boxe in enumerate(input_boxes):
if input_boxe.collidepoint(mouse_pos) and not box_init[i]:
box_value[i] = event.unicode
change_index = i
break
Expand Down

0 comments on commit 6bb322e

Please sign in to comment.