From c57695fba807b981e09083671946dc80f32ed905 Mon Sep 17 00:00:00 2001 From: luc lebosse Date: Mon, 25 Jul 2016 08:54:27 +0200 Subject: [PATCH] add missing highlight for fan/bed/ext1/ext2 --- UI/testui.htm | 38 ++++++++++++++++++++++++-------------- 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/UI/testui.htm b/UI/testui.htm index ecee883e..66f85add 100644 --- a/UI/testui.htm +++ b/UI/testui.htm @@ -124,6 +124,16 @@ if (isDown)return; } } +function changestroke(){ +if (isDown)return; + var len = arguments.length; + if(len <2) return; + var color = arguments[len-1]; + for(var i=0; i< len-1; i++) + { + arguments[i].style.stroke=color; + } + } function restore_z(e){ centerztext.textContent='Z'; show_hide(e,0); @@ -674,9 +684,9 @@ function initrange( element) - + - + @@ -698,13 +708,13 @@ function initrange( element) - + - - - - - + + + + + @@ -737,10 +747,10 @@ function initrange( element) - + - -1 + +1 @@ -772,10 +782,10 @@ function initrange( element) - + - -2 + +2