Skip to content

Commit dc57669

Browse files
committed
Merge branch 'bugfix-invalid-bar' into enhance-y-resort
2 parents 76be9de + 481896e commit dc57669

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎src/bar.js‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ export default class Bar {
368368
}
369369

370370
update_progressbar_position() {
371+
if (this.invalid) return;
371372
this.$bar_progress.setAttribute('x', this.$bar.getX());
372373
this.$bar_progress.setAttribute(
373374
'width',
@@ -389,6 +390,7 @@ export default class Bar {
389390
}
390391

391392
update_handle_position() {
393+
if (this.invalid) return;
392394
const bar = this.$bar;
393395
this.handle_group
394396
.querySelector('.handle.left')

0 commit comments

Comments
 (0)