0
0
mirror of https://github.com/Doodle3D/doodle3d-client.git synced 2024-11-25 10:37:56 +01:00

Thermometer graph goes above target temperature (fixes issue https://github.com/Doodle3D/doodle3d-client/issues/6 )

This commit is contained in:
Adriaan Wormgoor 2013-10-28 21:48:53 +01:00
parent 69b50cc55d
commit e6e34e4ca6

View File

@ -57,7 +57,7 @@ function Thermometer() {
var progress = curr / targ; var progress = curr / targ;
progress = Math.min(progress, 1.0); // progress = Math.min(progress, 1.0);
progress = Math.max(progress, 0); progress = Math.max(progress, 0);
var h = this.thermoHeight; // 94 // px var h = this.thermoHeight; // 94 // px