Range from -π to π in rotation inputs (see #392)

This commit is contained in:
Tim Schaub
2013-03-18 12:10:44 -06:00
parent 114d4c6f92
commit 4cec0546c8

View File

@@ -52,7 +52,7 @@
<label>opacity</label>
<input id="opacity" type="range" min="0" max="1" step="0.01"/>
<label>hue</label>
<input id="hue" type="range" min="0.0" max="6.283185307179586" step="0.01"/>
<input id="hue" type="range" min="-3.141592653589793" max="3.141592653589793" step="0.01"/>
<label>saturation</label>
<input id="saturation" type="range" min="0" max="5" step="0.01"/>
<label>contrast</label>
@@ -68,7 +68,7 @@
<fieldset>
<legend>View</legend>
<label>rotation</label>
<input id="rotation" type="range" min="0.0" max="6.283185307179586" step="0.01"/>
<input id="rotation" type="range" min="-3.141592653589793" max="3.141592653589793" step="0.01"/>
</fieldset>
</fieldset>
</form>