mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Update min to 100, remove redundant minmax, add binding delay
This commit is contained in:
parent
578b4cb6c5
commit
b181e0f7a4
2 changed files with 2 additions and 4 deletions
|
|
@ -530,7 +530,7 @@ namespace Flow.Launcher.Plugin.Explorer.ViewModels
|
|||
get => Settings.MaxResult;
|
||||
set
|
||||
{
|
||||
Settings.MaxResult = Math.Clamp(value, 0, 10000);
|
||||
Settings.MaxResult = Math.Clamp(value, 100, 10000);
|
||||
OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -360,15 +360,13 @@
|
|||
Grid.Row="4"
|
||||
Grid.Column="1"
|
||||
MinWidth="350"
|
||||
Maximum="10000"
|
||||
Minimum="0"
|
||||
Margin="0,9,0,6"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
CornerRadius="4"
|
||||
SmallChange="10"
|
||||
SpinButtonPlacementMode="Inline"
|
||||
Value="{Binding MaxResult}"
|
||||
Value="{Binding MaxResult, Delay=100}"
|
||||
ToolTip="{DynamicResource plugin_explorer_Maximum_Results_Tooltip}"/>
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
|
|
|
|||
Loading…
Reference in a new issue