Don't show an 'other' option for UI scale unless it's actually selected

This commit is contained in:
2023-01-21 20:15:58 -05:00
parent dda95397ec
commit 577ff1a405
2 changed files with 27 additions and 2 deletions

View File

@@ -45,7 +45,7 @@
<led name='2' relative='pos-in pos' anchor='scale-head' top='4' left='95' width='33'>2</led>
<led name='3' relative='pos-in pos' anchor='scale-head' top='4' left='135' width='33'>3</led>
<led name='4' relative='pos-in pos' anchor='scale-head' top='4' left='175' width='33'>4</led>
<led name='other' relative='pos-in pos' anchor='scale-head' top='4' left='215' width='43'>other</led>
<led name='other' relative='pos-in pos' anchor='scale-head' top='4' left='215' width='85'/>
</group>
<text name='scalemap-head' size='large' relative='neg pos' anchor='scale-head' top='17' left='0' width='260' height='17'>Scale Map:</text>
<group name='scalemap'>
@@ -54,7 +54,7 @@
<led name='2' relative='pos-in pos' anchor='scalemap-head' top='4' left='95' width='33'>2</led>
<led name='3' relative='pos-in pos' anchor='scalemap-head' top='4' left='135' width='33'>3</led>
<led name='4' relative='pos-in pos' anchor='scalemap-head' top='4' left='175' width='33'>4</led>
<led name='other' relative='pos-in pos' anchor='scalemap-head' top='4' left='215' width='43'>other</led>
<led name='other' relative='pos-in pos' anchor='scalemap-head' top='4' left='215' width='85'/>
</group>
<button name='okay' relative='abs pos' anchor='scalemap-head' type='regular' top='17' left='354'>OK</button>
<button name='cancel' relative='neg pos-in' anchor='okay' type='regular' def-key='esc' top='0' left='73'>Cancel</button>