chore: fix some typos in comments (#7752)

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

No files matched your search

+1 -1
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,