Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit 3e9ed47

Browse files
committed
fix escape not closing the lower errors grid
1 parent 5747d2d commit 3e9ed47

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

UI/MainWindow/MainWindowInputHandler.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ private void MainWindowEvent_KeyDown(object sender, KeyEventArgs e)
2323
var key = e.Key;
2424
var modifiers = Keyboard.Modifiers;
2525

26+
if (key == Key.Escape && CompileOutputRow.Height.Value > 8.0)
27+
{
28+
CloseErrorResultGrid(null, null);
29+
}
30+
2631
if (key == Key.System)
2732
{
2833
key = e.SystemKey;

0 commit comments

Comments
 (0)