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
  • Loading branch information
bbazukun123 committed Mar 7, 2024
1 parent 90c3dbc commit 8499e75
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 8499e75

Please sign in to comment.