Hide transitions if not enabled.
This commit is contained in:
		| @@ -818,10 +818,12 @@ Length: <input type="number" name="XC${i}" id="xc${i}" class="l" min="1" max="65 | ||||
| 		Use Gamma value: <input name="GV" type="number" class="m" placeholder="2.8" min="1" max="3" step="0.1" required><br><br> | ||||
| 		Brightness factor: <input name="BF" type="number" class="m" min="1" max="255" required> % | ||||
| 		<h3>Transitions</h3> | ||||
| 		Crossfade: <input type="checkbox" name="TF"><br> | ||||
| 		Effect blending: <input type="checkbox" name="EB"><br> | ||||
| 		Transition Time: <input name="TD" type="number" class="xl" min="0" max="65500"> ms<br> | ||||
| 		Enable Palette transitions: <input type="checkbox" name="PF"><br> | ||||
| 		Enable transitions: <input type="checkbox" name="TF" onchange="gId('tran').style.display=this.checked?'inline':'none';"><br> | ||||
| 		<span id="tran"> | ||||
| 			Effect blending: <input type="checkbox" name="EB"><br> | ||||
| 			Transition Time: <input name="TD" type="number" class="xl" min="0" max="65500"> ms<br> | ||||
| 			Palette transitions: <input type="checkbox" name="PF"><br> | ||||
| 		</span> | ||||
| 		<i>Random Cycle</i> Palette Time: <input name="TP" type="number" class="m" min="1" max="255"> s<br> | ||||
| 		<h3>Timed light</h3> | ||||
| 		Default Duration: <input name="TL" type="number" class="m" min="1" max="255" required> min<br> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Blaz Kristan
					Blaz Kristan