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 (vidstack#1499)
  • Loading branch information
alopatindev committed Nov 7, 2024
1 parent d869e00 commit cad2274
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 cad2274

Please sign in to comment.