From 9fc13d2c55011f97a7029de44a8a482f6c27a8e4 Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 28 Nov 2024 09:20:11 +0100 Subject: [PATCH] refactor(Player): remove unecessary comments --- src/routes/Player/Player.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/routes/Player/Player.js b/src/routes/Player/Player.js index a342c5af5..5ace96f77 100644 --- a/src/routes/Player/Player.js +++ b/src/routes/Player/Player.js @@ -476,11 +476,6 @@ const Player = ({ urlParams, queryParams }) => { break; } - // make sure to set Seeking (if not set already) - // and update the time property to send the Seek Action - // accordingly. - // Continuously holding the arrow key should not trigger TimeChanged - // until releasing. case 'ArrowRight': { if (!menusOpen && !nextVideoPopupOpen && video.state.time !== null) { const seekDuration = event.shiftKey ? settings.seekShortTimeDuration : settings.seekTimeDuration; @@ -490,11 +485,6 @@ const Player = ({ urlParams, queryParams }) => { break; } - // make sure to set Seeking (if not set already) - // and update the time property to send the Seek Action - // accordingly. - // Continuously holding the arrow key should not trigger TimeChanged - // until releasing. case 'ArrowLeft': { if (!menusOpen && !nextVideoPopupOpen && video.state.time !== null) { const seekDuration = event.shiftKey ? settings.seekShortTimeDuration : settings.seekTimeDuration;