summaryrefslogtreecommitdiffstats
path: root/theme
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2014-07-26 16:59:49 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-04 10:03:07 -0700
commit979ea564a058254205c2ec9594294f35658c65f0 (patch)
tree0bf55a58f1386063013add621d30c532456e6180 /theme
parent7e45d931230527201ed3f235bc6f6f1315748646 (diff)
downloadsubsurface-979ea564a058254205c2ec9594294f35658c65f0.tar.gz
HTML: Fix constant value temperature curve.
When temperature is constant the temperature curve is stuck at the top of the profile view. Maximum temperature value is set to 50 degrees C. This will always put the curve in the right place. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'theme')
-rw-r--r--theme/list_lib.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/theme/list_lib.js b/theme/list_lib.js
index 135a0f9e6..094cc266a 100644
--- a/theme/list_lib.js
+++ b/theme/list_lib.js
@@ -1038,6 +1038,7 @@ function canvas_draw()
},
y3axis : {
padMax : 3.05,
+ max : 50,
tickOptions: {
showGridline: false,
showMark: false,