From 412a2e299c2da9394edbafbc397a0d032f811350 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 28 Nov 2013 10:04:33 +0400 Subject: [PATCH] minor tweaks... Signed-off-by: Alex A. Naanou --- ui/experiments/editor.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ui/experiments/editor.html b/ui/experiments/editor.html index 94624fe3..8e256984 100755 --- a/ui/experiments/editor.html +++ b/ui/experiments/editor.html @@ -18,6 +18,9 @@ summary { input[type=range] { width: 300px; } +input[type=range]:after { + content: attr(value); +} div > span:first-child { display: inline-block; width: 100px; @@ -47,6 +50,7 @@ function resetPrevRange(e){ .change() } +// XXX this does not set hue correctly... function loadSliderState(){ var state = $('#image') .css('-webkit-filter') @@ -60,7 +64,7 @@ function loadSliderState(){ }) // set the saved values... while(state.length > 0){ - $('#'+state.pop()) + var e = $('#'+state.pop()) .val(state.pop()) } @@ -86,7 +90,7 @@ function clearStates(){ -
+
Controls