From 3f0760c98ec48f0ee9e7a3c88f266274d4a67ae0 Mon Sep 17 00:00:00 2001 From: Giorgio Gilestro Date: Fri, 1 May 2026 14:11:36 +0100 Subject: [PATCH] =?UTF-8?q?Picker:=20simpler=20keyboard=20shortcuts=20(?= =?UTF-8?q?=C2=B15=20s=20/=20=C2=B130=20s)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Dropped Ctrl+arrow (±0.1 s) and ,/. frame stepping — too fine for spotting the barrier opening visually. Shift+arrow now jumps ±30 s instead of ±1 s, which matches how analysts actually navigate (5 s for fine, 30 s for skipping ahead). Drag the seekbar if you need sub-second precision. Co-Authored-By: Claude Opus 4.7 --- scripts/barrier_picker_app/static/index.html | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/scripts/barrier_picker_app/static/index.html b/scripts/barrier_picker_app/static/index.html index 9374050..5e5a1f1 100644 --- a/scripts/barrier_picker_app/static/index.html +++ b/scripts/barrier_picker_app/static/index.html @@ -76,9 +76,8 @@
Space play/pause  ·  / ±5 s  ·  - Shift+arrows ±1 s  ·  - Ctrl+arrows ±0.1 s  ·  - , / . ±1 frame + Shift+arrows ±30 s  ·  + drag the seekbar for finer control
@@ -223,20 +222,11 @@ break; case 'ArrowLeft': stop(); - player.currentTime -= e.ctrlKey ? 0.1 : (e.shiftKey ? 1 : 5); + player.currentTime -= e.shiftKey ? 30 : 5; break; case 'ArrowRight': stop(); - player.currentTime += e.ctrlKey ? 0.1 : (e.shiftKey ? 1 : 5); - break; - case ',': - stop(); - // Step back one frame (assume 25 fps if unknown) - player.currentTime -= 1 / 25; - break; - case '.': - stop(); - player.currentTime += 1 / 25; + player.currentTime += e.shiftKey ? 30 : 5; break; case '1': stop(); submit('all'); break; case '2': stop(); submit('upper'); break;