style: Change variable name

macos-click-through
Serg Tereshchenko 3 years ago
parent 740a24c05e
commit aa340c5e41

@ -142,8 +142,8 @@ impl KeyboardManager {
} else { } else {
key_event.text_with_all_modifiers() key_event.text_with_all_modifiers()
}; };
if let Some(ori_key_text) = key_text { if let Some(original_key_text) = key_text {
let mut key_text = ori_key_text; let mut key_text = original_key_text;
if self.alt { if self.alt {
if let Some(modify) = key_event.text_with_all_modifiers() { if let Some(modify) = key_event.text_with_all_modifiers() {
key_text = modify; key_text = modify;

Loading…
Cancel
Save