Skip to content

Commit

Permalink
fix(ascii_composer): do not comsume Shift key release
Browse files Browse the repository at this point in the history
  • Loading branch information
lotem committed Aug 24, 2020
1 parent 3fc56c4 commit debc2c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rime/gear/ascii_composer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ ProcessResult AsciiComposer::ProcessKeyEvent(const KeyEvent& key_event) {
ToggleAsciiModeWithKey(ch);
}
shift_key_pressed_ = ctrl_key_pressed_ = false;
return kRejected;
return kNoop;
}
}
else if (!(shift_key_pressed_ || ctrl_key_pressed_)) { // first key down
Expand Down

0 comments on commit debc2c0

Please sign in to comment.