diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-10-31 09:52:41 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-10-31 09:52:41 +0100 |
| commit | 24bfc35fcb088ff6e8597c9c7e6b9a020dde228c (patch) | |
| tree | 58fcbe697485fd611779b44bb22d505a8c8cf1d0 /Samples/common/src/SampleBaseForEditor.cs | |
| parent | f9058ecea3c4dd28f27c1cc12fcd7ee9c22ac17a (diff) | |
update readme
Diffstat (limited to 'Samples/common/src/SampleBaseForEditor.cs')
| -rw-r--r-- | Samples/common/src/SampleBaseForEditor.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Samples/common/src/SampleBaseForEditor.cs b/Samples/common/src/SampleBaseForEditor.cs index a63ba54e..92d0634c 100644 --- a/Samples/common/src/SampleBaseForEditor.cs +++ b/Samples/common/src/SampleBaseForEditor.cs @@ -325,7 +325,7 @@ namespace Samples protected void textView_KeyDown (object sender, Crow.KeyEventArgs e) { if (Ctrl) { if (e.Key == Glfw.Key.W) { - if (Shift) + if (e.Modifiers.HasFlag(Modifier.Shift)) CMDRedo.Execute (); else CMDUndo.Execute (); |