From 809a0d790e929e0757a728ea20b9f5324339a037 Mon Sep 17 00:00:00 2001 From: luc lebosse Date: Sat, 23 Jul 2016 22:21:42 +0200 Subject: [PATCH] Add list for Extruder list in position bar --- UI/testui.htm | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/UI/testui.htm b/UI/testui.htm index d11efd15..ecee883e 100644 --- a/UI/testui.htm +++ b/UI/testui.htm @@ -6,6 +6,10 @@ position : absolute; cursor : pointer; } .sliderrange{ +cursor : pointer; + } + .extlist{ +position : absolute; cursor : pointer; } body{ @@ -270,6 +274,7 @@ function initrange( element) } +
@@ -327,7 +332,15 @@ function initrange( element) +
+
+ +

+
@@ -603,7 +616,7 @@ function initrange( element) - +

@@ -808,6 +821,10 @@ initrange( rangeext1); initthumb( thumbext1); initrange( rangeext2); initthumb(thumbext2); +extruderlist.style.left=342; +var rb = positionbar.getBoundingClientRect(); +var re = extruderlist.getBoundingClientRect(); +extruderlist.style.top = rb.top + (( (rb.bottom-rb.top) - (re.bottom-re.top))/2);