Remove wrong addition of padding

This commit is contained in:
Evert Timberg 2015-08-23 17:17:21 -04:00
parent f636a78977
commit b4b3bf60b8

View File

@ -173,7 +173,6 @@
// Bottom - top since pixels increase downard on a screen
var innerHeight = this.height - (this.paddingTop + this.paddingBottom);
pixel = (this.bottom - this.paddingBottom) - (innerHeight / range * (value - this.start));
pixel += this.paddingTop;
}
return pixel;