Update min to 100, remove redundant minmax, add binding delay

This commit is contained in:
Ishmaeel 2024-08-09 00:06:57 +10:00
parent 578b4cb6c5
commit b181e0f7a4
2 changed files with 2 additions and 4 deletions

View file

@ -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();
}
}

View file

@ -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>