diff options
| author | tonychenr <tonychenr@gmail.com> | 2014-10-07 19:15:08 -0700 |
|---|---|---|
| committer | tonychenr <tonychenr@gmail.com> | 2014-10-07 19:15:08 -0700 |
| commit | f308c23824fcb48e25d2296ddc44a3ab4bcbef64 (patch) | |
| tree | ad72d5fcedf496964fea3ae37281795c38d6d9e6 | |
| parent | 2ae675132a52b8fdb3bd52e80db858500de9f265 (diff) | |
| download | snap-f308c23824fcb48e25d2296ddc44a3ab4bcbef64.tar.gz snap-f308c23824fcb48e25d2296ddc44a3ab4bcbef64.zip | |
Fixed range 1 slider bug issue # 301
| -rw-r--r-- | morphic.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5754,7 +5754,7 @@ SliderMorph.prototype.rangeSize = function () { }; SliderMorph.prototype.ratio = function () { - return this.size / this.rangeSize(); + return this.size / (this.rangeSize() + 1); }; SliderMorph.prototype.unitSize = function () { |
