mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
fix(core): prevent slider thumb jump on pointer release (#990)
This commit is contained in:
@@ -70,7 +70,7 @@ export class TimeSliderElement extends MediaElement {
|
||||
getLargeStepPercent: () => this.#core.getLargeStepPercent(),
|
||||
onValueCommit: (percent) => {
|
||||
const media = this.#timeState.value;
|
||||
if (media) media.seek(this.#core.valueFromPercent(percent));
|
||||
if (media) media.seek(this.#core.rawValueFromPercent(percent));
|
||||
},
|
||||
commitThrottle: this.commitThrottle,
|
||||
onDragStart: () => {
|
||||
|
||||
Reference in New Issue
Block a user