Skip to content

Commit

Permalink
fixed debug text
Browse files Browse the repository at this point in the history
  • Loading branch information
rutra8002 committed Jul 18, 2024
1 parent 4fd4f76 commit e364e91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion screens/achievements_screen.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def __init__(self, game):
self.game.objects.append(self)

def handle_scroll(self, direction):
print(f"Scrolling {'up' if direction > 0 else 'down'}")
print(f"Scrolling {'up' if direction < 0 else 'down'}")
self.scroll_position += direction * 20
self.scroll_position = max(self.scroll_position, 0)
self.scroll_position = min(self.scroll_position, len(self.achievements) * 50 //2)
Expand Down

0 comments on commit e364e91

Please sign in to comment.