minor fix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-11-28 14:54:26 +04:00
parent 412a2e299c
commit 14375d8fb2

View File

@ -20,6 +20,7 @@ input[type=range] {
}
input[type=range]:after {
content: attr(value);
color: black;
}
div > span:first-child {
display: inline-block;
@ -65,7 +66,7 @@ function loadSliderState(){
// set the saved values...
while(state.length > 0){
var e = $('#'+state.pop())
.val(state.pop())
.val(parseFloat(state.pop()))
}
}
@ -110,7 +111,7 @@ function clearStates(){
</div>
<div>
<span>Hue:</span>
<input type="range" id="hue-rotate" onchange="updateFilter($('#image'), this.id, (this.valueAsNumber-180)+'deg');" value="180" step="1" min="0" max="360" default="180">
<input type="range" id="hue-rotate" onchange="updateFilter($('#image'), this.id, this.valueAsNumber+'deg');" value="0" step="1" min="-180" max="180" default="0">
<button class="reset" onclick="resetPrevRange(this)">x</button>
</div>
<div>