From 74c5b48a83369038fa142ef31020438f829ef2eb Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Tue, 19 Aug 2025 09:22:30 +0200 Subject: [PATCH] fix(main.py): include keys '1' through '5' in the condition to prevent unintended navigation --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index c0be4df..7684f26 100644 --- a/main.py +++ b/main.py @@ -845,8 +845,8 @@ class MediaGrader: self.current_frame = 0 self.load_current_frame() - if key not in [ord("p"), ord("u")]: - print("Navigating to: ", self.current_index) + if key not in [ord("p"), ord("u"), ord("1"), ord("2"), ord("3"), ord("4"), ord("5")]: + print("Navigating to (pu12345): ", self.current_index) self.current_index += 1 if self.current_cap: