fix(engine): remove Alt from skipped modifiers on Windows, related to #725

This commit is contained in:
Federico Terzi 2021-10-16 14:41:28 +02:00
parent 789acc3d76
commit 3b74b5f558

View File

@ -246,7 +246,7 @@ fn should_skip_key_event_due_to_modifier_press(modifier_state: &ModifierState) -
if cfg!(target_os = "macos") {
modifier_state.is_meta_down
} else if cfg!(target_os = "windows") {
modifier_state.is_alt_down
false
} else if cfg!(target_os = "linux") {
modifier_state.is_alt_down || modifier_state.is_meta_down
} else {