Skip to content

Commit a5e873d

Browse files
committed
fix navigation bug
1 parent 2041d18 commit a5e873d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Flow.Launcher/MainWindow.xaml.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ public partial class MainWindow : IDisposable
6262
// Window Event: Key Event
6363
private bool _isArrowKeyPressed = false;
6464
private bool _canEnterGridModeWithDown = true;
65-
private const double PinnedGridItemWidth = 64;
66-
private const double PinnedGridItemHorizontalMargin = 10;
67-
private const double PinnedGridHorizontalChrome = 32;
65+
private const double PinnedGridItemWidth = 84;
66+
private const double PinnedGridItemHorizontalMargin = 4;
67+
private const double PinnedGridHorizontalChrome = 16;
6868

6969
// Window Sound Effects
7070
private MediaPlayer _animationSoundWMP;
@@ -551,7 +551,7 @@ private bool CanMoveUpToPinnedGrid()
551551
{
552552
return IsPinnedGridAvailableForKeyboardNavigation()
553553
&& _viewModel.QueryResultsSelected()
554-
&& _viewModel.Results.SelectedIndex <= 0;
554+
&& _viewModel.Results.SelectedIndex == 0;
555555
}
556556

557557
private bool IsPinnedGridAvailableForKeyboardNavigation()

0 commit comments

Comments
 (0)