chore: fix some typos in comments (#7752)

Signed-off-by: writegr <wellweek@outlook.com>
This commit is contained in:
writegr
2024-04-18 14:39:38 +08:00
committed by GitHub
parent 4252b5e273
commit 9b2ec62be9
4 changed files with 4 additions and 4 deletions

View File

@@ -187,7 +187,7 @@ impl LockModesHandler {
fn new(key_event: &KeyEvent) -> Self {
let event_caps_enabled = Self::is_modifier_enabled(key_event, ControlKey::CapsLock);
// Do not use the following code to detect `local_caps_enabled`.
// Because the state of get_key_state will not affect simuation of `VIRTUAL_INPUT_STATE` in this file.
// Because the state of get_key_state will not affect simulation of `VIRTUAL_INPUT_STATE` in this file.
//
// let local_caps_enabled = VirtualInput::get_key_state(
// CGEventSourceStateID::CombinedSessionState,