Skip to content

Commit

Permalink
Merge pull request #906 from peuter/fix-slider
Browse files Browse the repository at this point in the history
also send the last value
  • Loading branch information
ChristianMayer committed Mar 18, 2019
2 parents c28e025 + a90fcea commit 8655428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/class/cv/ui/structure/pure/Slide.js
Expand Up @@ -113,7 +113,7 @@ qx.Class.define('cv.ui.structure.pure.Slide', {
// set initial value
slider.setValue(parseFloat(this.getValue()));

slider.on("changeValue", qx.util.Function.throttle(this._onChangeValue, 250, {trailing: false}), this);
slider.on("changeValue", qx.util.Function.throttle(this._onChangeValue, 250, {trailing: true}), this);

this.addListener("changeValue", function (ev) {
this.__skipUpdatesFromSlider = true;
Expand Down

0 comments on commit 8655428

Please sign in to comment.