diff -r 5a8abd549aa8 -r 73d26eae5fb1 svghmi/gen_index_xhtml.xslt
--- a/svghmi/gen_index_xhtml.xslt Fri Mar 05 09:24:45 2021 +0100
+++ b/svghmi/gen_index_xhtml.xslt Fri Mar 05 09:36:22 2021 +0100
@@ -5748,22 +5748,22 @@
case 0:
+ this.range = Math.max(1,value);
+
+ break;
+
+ case 1:
+
this.position = value;
break;
- case 1:
-
- this.range = Math.max(1,value);
+ case 2:
+
+ this.size = value;
break;
- case 2:
-
- this.size = value;
-
- break;
-
}
@@ -5834,7 +5834,7 @@
this.position = Math.round(Math.max(Math.min(position, this.range - this.size), 0));
- this.apply_hmi_value(0, this.position);
+ this.apply_hmi_value(1, this.position);
}