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:
parent
69b50cc55d
commit
e6e34e4ca6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user