Gradient Slider: fix remove thumb
This commit is contained in:
parent
310033f575
commit
3c493d898b
|
@ -394,7 +394,7 @@ define([
|
||||||
me.sortThumbs();
|
me.sortThumbs();
|
||||||
|
|
||||||
var positionY = e.pageY*Common.Utils.zoom() - me.cmpEl.offset().top;
|
var positionY = e.pageY*Common.Utils.zoom() - me.cmpEl.offset().top;
|
||||||
me.isRemoveThumb = positionY > me.cmpEl.height();
|
me.isRemoveThumb = positionY > me.cmpEl.height() || positionY < 0;
|
||||||
me.setRemoveThumb(index, me.isRemoveThumb);
|
me.setRemoveThumb(index, me.isRemoveThumb);
|
||||||
|
|
||||||
if (Math.abs(value-lastValue)>0.001)
|
if (Math.abs(value-lastValue)>0.001)
|
||||||
|
|
Loading…
Reference in a new issue