Skip to content

Commit

Permalink
fix(player) Unrelated chapter is shown while cursor is leaving the ti…
Browse files Browse the repository at this point in the history
…meline

closes vidstack#1499
  • Loading branch information
alopatindev committed Nov 7, 2024
1 parent d869e00 commit 044d806
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,9 @@ export class SliderChapters extends Component<SliderChaptersProps, {}, SliderCha
}

#watchPointerPercent() {
let { pointing, pointerPercent } = this.#sliderState;
let { hidden, pointerPercent } = this.#sliderState;

if (!pointing()) {
if (hidden()) {
this.#activePointerIndex.set(-1);
return;
}
Expand Down

0 comments on commit 044d806

Please sign in to comment.