Skip to content

Commit cd6140d

Browse files
committed
Fix Conflicts
1 parent de5c039 commit cd6140d

File tree

2 files changed

+20
-17
lines changed

2 files changed

+20
-17
lines changed

Flow.Launcher/MainWindow.xaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,10 @@
8080
Command="{Binding LoadContextMenuCommand}" />
8181
<KeyBinding Key="Left"
8282
Command="{Binding EscCommand}" />
83-
<KeyBinding Key="H"
83+
<KeyBinding
84+
Key="H"
85+
Command="{Binding LoadHistoryCommand}"
86+
Modifiers="Ctrl" />
8487
<KeyBinding Key="Right" Command="{Binding LoadContextMenuCommand}" />
8588
<KeyBinding Key="Left" Command="{Binding EscCommand}" />
8689
<KeyBinding

Flow.Launcher/ViewModel/MainViewModel.cs

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -360,49 +360,49 @@ public string QueryText
360360
[RelayCommand]
361361
private void IncreaseWidth()
362362
{
363-
if (MainWindowWidth + 100 > 1920 || _settings.WindowSize == 1920)
363+
if (MainWindowWidth + 100 > 1920 || Settings.WindowSize == 1920)
364364
{
365-
_settings.WindowSize = 1920;
365+
Settings.WindowSize = 1920;
366366
}
367367
else
368-
{
369-
_settings.WindowSize += 100;
370-
_settings.WindowLeft -= 50;
368+
{
369+
Settings.WindowSize += 100;
370+
Settings.WindowLeft -= 50;
371371
}
372372
OnPropertyChanged();
373373
}
374374

375375
[RelayCommand]
376376
private void DecreaseWidth()
377377
{
378-
if (MainWindowWidth - 100 < 400 || _settings.WindowSize == 400)
378+
if (MainWindowWidth - 100 < 400 || Settings.WindowSize == 400)
379379
{
380-
_settings.WindowSize = 400;
380+
Settings.WindowSize = 400;
381381
}
382382
else
383-
{
384-
_settings.WindowLeft += 50;
385-
_settings.WindowSize -= 100;
383+
{
384+
Settings.WindowLeft += 50;
385+
Settings.WindowSize -= 100;
386386
}
387387
OnPropertyChanged();
388388
}
389389

390390
[RelayCommand]
391391
private void IncreaseMaxResult()
392392
{
393-
if (_settings.MaxResultsToShow == 17)
393+
if (Settings.MaxResultsToShow == 17)
394394
return;
395395

396-
_settings.MaxResultsToShow += 1;
396+
Settings.MaxResultsToShow += 1;
397397
}
398398

399399
[RelayCommand]
400400
private void DecreaseMaxResult()
401401
{
402-
if (_settings.MaxResultsToShow == 2)
402+
if (Settings.MaxResultsToShow == 2)
403403
return;
404404

405-
_settings.MaxResultsToShow -= 1;
405+
Settings.MaxResultsToShow -= 1;
406406
}
407407

408408
/// <summary>
@@ -482,8 +482,8 @@ private ResultsViewModel SelectedResults
482482

483483
public double MainWindowWidth
484484
{
485-
get => _settings.WindowSize;
486-
set => _settings.WindowSize = value;
485+
get => Settings.WindowSize;
486+
set => Settings.WindowSize = value;
487487
}
488488

489489
public string PluginIconPath { get; set; } = null;

0 commit comments

Comments
 (0)