Skip to content

Commit b181e0f

Browse files
committed
Update min to 100, remove redundant minmax, add binding delay
1 parent 578b4cb commit b181e0f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/ViewModels/SettingsViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ public int MaxResult
530530
get => Settings.MaxResult;
531531
set
532532
{
533-
Settings.MaxResult = Math.Clamp(value, 0, 10000);
533+
Settings.MaxResult = Math.Clamp(value, 100, 10000);
534534
OnPropertyChanged();
535535
}
536536
}

Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,15 +360,13 @@
360360
Grid.Row="4"
361361
Grid.Column="1"
362362
MinWidth="350"
363-
Maximum="10000"
364-
Minimum="0"
365363
Margin="0,9,0,6"
366364
HorizontalAlignment="Left"
367365
VerticalAlignment="Center"
368366
CornerRadius="4"
369367
SmallChange="10"
370368
SpinButtonPlacementMode="Inline"
371-
Value="{Binding MaxResult}"
369+
Value="{Binding MaxResult, Delay=100}"
372370
ToolTip="{DynamicResource plugin_explorer_Maximum_Results_Tooltip}"/>
373371
</Grid>
374372
</StackPanel>

0 commit comments

Comments
 (0)