0
0
Fork 0

Add SmallChange properties to the rest of the sliders (fixes keyboard input). (#5621)

This commit is contained in:
MutantAura 2023-08-29 09:56:43 +01:00 committed by GitHub
parent cd7b52f995
commit 93d78f9ac4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 0 deletions

View file

@ -465,6 +465,7 @@
Maximum="1" Maximum="1"
TickFrequency="0.01" TickFrequency="0.01"
IsSnapToTickEnabled="True" IsSnapToTickEnabled="True"
SmallChange="0.01"
Minimum="0" Minimum="0"
Value="{ReflectionBinding Configuration.DeadzoneLeft, Mode=TwoWay}" /> Value="{ReflectionBinding Configuration.DeadzoneLeft, Mode=TwoWay}" />
<TextBlock <TextBlock
@ -484,6 +485,7 @@
Maximum="2" Maximum="2"
TickFrequency="0.01" TickFrequency="0.01"
IsSnapToTickEnabled="True" IsSnapToTickEnabled="True"
SmallChange="0.01"
Minimum="0" Minimum="0"
Value="{ReflectionBinding Configuration.RangeLeft, Mode=TwoWay}" /> Value="{ReflectionBinding Configuration.RangeLeft, Mode=TwoWay}" />
<TextBlock <TextBlock
@ -607,6 +609,7 @@
Maximum="1" Maximum="1"
TickFrequency="0.01" TickFrequency="0.01"
IsSnapToTickEnabled="True" IsSnapToTickEnabled="True"
SmallChange="0.01"
Minimum="0" Minimum="0"
Value="{ReflectionBinding Configuration.TriggerThreshold, Mode=TwoWay}" /> Value="{ReflectionBinding Configuration.TriggerThreshold, Mode=TwoWay}" />
<TextBlock <TextBlock
@ -1085,6 +1088,7 @@
Maximum="1" Maximum="1"
TickFrequency="0.01" TickFrequency="0.01"
IsSnapToTickEnabled="True" IsSnapToTickEnabled="True"
SmallChange="0.01"
Padding="0" Padding="0"
VerticalAlignment="Center" VerticalAlignment="Center"
Minimum="0" Minimum="0"
@ -1106,6 +1110,7 @@
Maximum="2" Maximum="2"
TickFrequency="0.01" TickFrequency="0.01"
IsSnapToTickEnabled="True" IsSnapToTickEnabled="True"
SmallChange="0.01"
Minimum="0" Minimum="0"
Value="{ReflectionBinding Configuration.RangeRight, Mode=TwoWay}" /> Value="{ReflectionBinding Configuration.RangeRight, Mode=TwoWay}" />
<TextBlock <TextBlock

View file

@ -29,6 +29,7 @@
MaxWidth="150" MaxWidth="150"
TickFrequency="0.01" TickFrequency="0.01"
IsSnapToTickEnabled="True" IsSnapToTickEnabled="True"
SmallChange="0.01"
Maximum="100" Maximum="100"
Minimum="0" Minimum="0"
Value="{Binding Sensitivity, Mode=TwoWay}" /> Value="{Binding Sensitivity, Mode=TwoWay}" />
@ -50,6 +51,7 @@
MaxWidth="150" MaxWidth="150"
TickFrequency="0.01" TickFrequency="0.01"
IsSnapToTickEnabled="True" IsSnapToTickEnabled="True"
SmallChange="0.01"
Maximum="100" Maximum="100"
Minimum="0" Minimum="0"
Value="{Binding GyroDeadzone, Mode=TwoWay}" /> Value="{Binding GyroDeadzone, Mode=TwoWay}" />

View file

@ -26,6 +26,7 @@
Width="200" Width="200"
TickFrequency="0.01" TickFrequency="0.01"
IsSnapToTickEnabled="True" IsSnapToTickEnabled="True"
SmallChange="0.01"
Maximum="10" Maximum="10"
Minimum="0" Minimum="0"
Value="{Binding StrongRumble, Mode=TwoWay}" /> Value="{Binding StrongRumble, Mode=TwoWay}" />
@ -47,6 +48,7 @@
Maximum="10" Maximum="10"
TickFrequency="0.01" TickFrequency="0.01"
IsSnapToTickEnabled="True" IsSnapToTickEnabled="True"
SmallChange="0.01"
Minimum="0" Minimum="0"
Value="{Binding WeakRumble, Mode=TwoWay}" /> Value="{Binding WeakRumble, Mode=TwoWay}" />
<TextBlock <TextBlock

View file

@ -56,6 +56,7 @@
Margin="5,-10,5,0" Margin="5,-10,5,0"
VerticalAlignment="Center" VerticalAlignment="Center"
IsSnapToTickEnabled="True" IsSnapToTickEnabled="True"
SmallChange="1"
Maximum="4" Maximum="4"
Minimum="1" Minimum="1"
TickFrequency="1" TickFrequency="1"