]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
first padiwa GUI
authorhadeshyp <hadeshyp>
Wed, 28 Nov 2012 18:18:04 +0000 (18:18 +0000)
committerhadeshyp <hadeshyp>
Wed, 28 Nov 2012 18:18:04 +0000 (18:18 +0000)
cts/htdocs/thresh/scripts.js

index 6eb7d884d050c7d2ec0b40e125d982ded81cc0f3..46ed40ecd2fb9a0d35e566bdf365c29fae8d5428 100644 (file)
@@ -41,7 +41,7 @@ function findcolor(v,min,max,lg) {
   step = ((max-min)/655);
 
 
-  if (v == 0) {
+  if (v == 0 || v<min) {
     r = 220;
     g = 220;
     b = 220;