In the middle of another refactoroing

This commit is contained in:
Tig
2024-10-05 12:43:09 -06:00
parent 3649a047f2
commit af110d92d0
103 changed files with 582 additions and 487 deletions

View File

@@ -357,9 +357,9 @@ public class HotKeyTests
Title = "_Test"
};
Application.Top.Add (view);
view.HotKeyCommand += (s, e) => hotKeyRaised = true;
view.Accept += (s, e) => acceptRaised = true;
view.Select += (s, e) => selectRaised = true;
view.HotKeyHandled += (s, e) => hotKeyRaised = true;
view.Accepted += (s, e) => acceptRaised = true;
view.Selected += (s, e) => selectRaised = true;
Assert.Equal (KeyCode.T, view.HotKey);
Assert.False (Application.OnKeyDown (Key.T)); // wasn't handled