aboutsummaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-09-12 00:53:51 +0800
committercrupest <crupest@outlook.com>2020-09-12 00:53:51 +0800
commitc41e7e63a3d0a4ebe90a536d4c7e7956a3581f02 (patch)
tree5870f791b0105c1c651d617eb1c00da28d4b2043 /demos
parentf357d11518796b0e0c2c5f23d8eafeda48226af9 (diff)
downloadcru-c41e7e63a3d0a4ebe90a536d4c7e7956a3581f02.tar.gz
cru-c41e7e63a3d0a4ebe90a536d4c7e7956a3581f02.tar.bz2
cru-c41e7e63a3d0a4ebe90a536d4c7e7956a3581f02.zip
...
Diffstat (limited to 'demos')
-rw-r--r--demos/input_method/main.cpp2
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();