mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-06-07 18:02:48 +08:00
fix build
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
9d2b096626
commit
2baf83ce27
@ -477,7 +477,7 @@ pub fn event_to_key_events(
|
|||||||
};
|
};
|
||||||
|
|
||||||
if keyboard_mode != KeyboardMode::Translate {
|
if keyboard_mode != KeyboardMode::Translate {
|
||||||
let is_numpad_key = is_numpad_key(&event.event_type);
|
let is_numpad_key = is_numpad_key(&event);
|
||||||
for key_event in &mut key_events {
|
for key_event in &mut key_events {
|
||||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||||
if let Some(lock_modes) = lock_modes {
|
if let Some(lock_modes) = lock_modes {
|
||||||
|
Loading…
Reference in New Issue
Block a user