Allow flashAt minimum to go to -1. Allows disabling flash and pulse.

This commit is contained in:
Travis Nickles 2020-02-22 13:32:02 -06:00
parent dca1d040b1
commit 0a726d079a

View File

@ -636,8 +636,8 @@
<ComboBoxItem Content="Flash at"/> <ComboBoxItem Content="Flash at"/>
<ComboBoxItem Content="Pulse at"/> <ComboBoxItem Content="Pulse at"/>
</ComboBox> </ComboBox>
<xctk:IntegerUpDown d:IsHidden="True" Value="{Binding FlashAt}" MinWidth="50" <xctk:IntegerUpDown d:IsHidden="True" Value="{Binding FlashAt,FallbackValue=0}" MinWidth="50"
Minimum="0" Maximum="100" Increment="10" /> Minimum="-1" Maximum="100" Increment="10" />
<Label Content="%" /> <Label Content="%" />
<Button x:Name="flashColorBtn" Width="20" Height="20" Background="{Binding FlashColor,FallbackValue=Blue}" <Button x:Name="flashColorBtn" Width="20" Height="20" Background="{Binding FlashColor,FallbackValue=Blue}"
ToolTip="{lex:Loc Resources:FlashAtTip}" Click="FlashColorBtn_Click" /> ToolTip="{lex:Loc Resources:FlashAtTip}" Click="FlashColorBtn_Click" />