kopia lustrzana https://github.com/backface/turtlestitch
Fixed range 1 slider bug issue # 301
rodzic
2ae675132a
commit
f308c23824
|
@ -5754,7 +5754,7 @@ SliderMorph.prototype.rangeSize = function () {
|
||||||
};
|
};
|
||||||
|
|
||||||
SliderMorph.prototype.ratio = function () {
|
SliderMorph.prototype.ratio = function () {
|
||||||
return this.size / this.rangeSize();
|
return this.size / (this.rangeSize() + 1);
|
||||||
};
|
};
|
||||||
|
|
||||||
SliderMorph.prototype.unitSize = function () {
|
SliderMorph.prototype.unitSize = function () {
|
||||||
|
|
Ładowanie…
Reference in New Issue