debug, macOS
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
f1e0d64732
commit
8b4370773d
@ -124,8 +124,8 @@ struct LockModesHandler;
|
|||||||
|
|
||||||
impl LockModesHandler {
|
impl LockModesHandler {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn is_modifier_enabled(key_event: &KeyEvent, modifier: ControlKey) {
|
fn is_modifier_enabled(key_event: &KeyEvent, modifier: ControlKey) -> bool {
|
||||||
key_event.modifiers.contains(&modifier.into());
|
key_event.modifiers.contains(&modifier.into())
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(target_os = "macos"))]
|
#[cfg(not(target_os = "macos"))]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user