Skip to content

Commit

Permalink
Hotfix: Slider - Set eventMode to 'none' for the slider handles and t…
Browse files Browse the repository at this point in the history
…he fill (#137)

Co-authored-by: Baz Utsahajit <[email protected]>
  • Loading branch information
bbazukun123 and bbazukun123 authored Mar 18, 2024
1 parent b7ee5c7 commit 615a719
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/SliderBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ export class SliderBase extends ProgressBar
this.slider1 = options.slider1;
this.slider2 = options.slider2;

this.fill.eventMode = 'none';

this.min = options.min ?? 0;
this.max = options.max ?? 100;
}
Expand Down Expand Up @@ -154,6 +156,7 @@ export class SliderBase extends ProgressBar
{
const slider = getView(sliderData);

slider.eventMode = 'none';
slider.x = slider.width / 2;

const container = new Container();
Expand Down

0 comments on commit 615a719

Please sign in to comment.