Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions packages/dev/gui/src/2D/controls/sliders/baseSlider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export class BaseSlider extends Control {

this._value = value;
this._markAsDirty();
this.onValueChangedObservable.notifyObservers(this._value);
this.onValueChangedObservable.notifyObservers(this._value, undefined, this, this);
}

/**Gets or sets a boolean indicating if the slider should be vertical or horizontal */
Expand Down Expand Up @@ -326,7 +326,6 @@ export class BaseSlider extends Control {
if (this._pointerIsDown && !this.isReadOnly) {
this._updateValueFromPointer(coordinates.x, coordinates.y);
}

super._onPointerMove(target, coordinates, pointerId, pi);
}

Expand Down