diff options
author | crupest <crupest@outlook.com> | 2020-09-12 00:53:51 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-09-12 00:53:51 +0800 |
commit | c41e7e63a3d0a4ebe90a536d4c7e7956a3581f02 (patch) | |
tree | 5870f791b0105c1c651d617eb1c00da28d4b2043 /demos/input_method/main.cpp | |
parent | f357d11518796b0e0c2c5f23d8eafeda48226af9 (diff) | |
download | cru-c41e7e63a3d0a4ebe90a536d4c7e7956a3581f02.tar.gz cru-c41e7e63a3d0a4ebe90a536d4c7e7956a3581f02.tar.bz2 cru-c41e7e63a3d0a4ebe90a536d4c7e7956a3581f02.zip |
...
Diffstat (limited to 'demos/input_method/main.cpp')
-rw-r--r-- | demos/input_method/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/input_method/main.cpp b/demos/input_method/main.cpp index 215eba16..bff0e1d3 100644 --- a/demos/input_method/main.cpp +++ b/demos/input_method/main.cpp @@ -102,7 +102,7 @@ int main() { window->KeyDownEvent()->AddHandler( [&input_method_context](const NativeKeyEventArgs& args) { - if (args.modifier & key_modifiers::alt) { + if (args.modifier & KeyModifiers::alt) { switch (args.key) { case KeyCode::F1: input_method_context->EnableIME(); |