mirror of
https://github.com/mehotkhan/BandersnatchInteractive.git
synced 2025-07-28 01:33:23 +00:00
assets/scripts.js: Fix jumping forward while paused
This commit is contained in:
parent
e9a9719f21
commit
96908eb3af
1 changed files with 1 additions and 1 deletions
|
@ -380,7 +380,7 @@ function jumpForward() {
|
||||||
let moments = momentsBySegment[segmentId] || [];
|
let moments = momentsBySegment[segmentId] || [];
|
||||||
// Find the earliest moment within this segment after cursor
|
// Find the earliest moment within this segment after cursor
|
||||||
for (let m of moments)
|
for (let m of moments)
|
||||||
if (m.startMs >= ms && (interactionMs == 0 || m.startMs < interactionMs))
|
if (m.startMs > ms && (interactionMs == 0 || m.startMs < interactionMs))
|
||||||
interactionMs = m.startMs;
|
interactionMs = m.startMs;
|
||||||
|
|
||||||
if (interactionMs) {
|
if (interactionMs) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue