From 24bfc35fcb088ff6e8597c9c7e6b9a020dde228c Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bruyère Date: Sun, 31 Oct 2021 09:52:41 +0100 Subject: update readme --- Samples/common/src/SampleBaseForEditor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Samples/common/src/SampleBaseForEditor.cs') 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 (); -- cgit v1.3.1-4-g156e