mirror of
https://github.com/rustdesk/rustdesk
synced 2026-05-24 09:28:23 +00:00
format
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
17fe62aec1
commit
3fdffa1371
1 changed files with 1 additions and 1 deletions
|
|
@ -366,7 +366,7 @@ pub fn get_keyboard_mode_enum() -> KeyboardMode {
|
|||
#[inline]
|
||||
fn is_numpad_key(event: &Event) -> bool {
|
||||
matches!(event.event_type, EventType::KeyPress(key) | EventType::KeyRelease(key) if match key {
|
||||
Key::Kp0 | Key::Kp1 | Key::Kp2 | Key::Kp3 | Key::Kp4| Key::Kp5| Key::Kp6| Key::Kp7 | Key::Kp8 |
|
||||
Key::Kp0 | Key::Kp1 | Key::Kp2 | Key::Kp3 | Key::Kp4 | Key::Kp5 | Key::Kp6 | Key::Kp7 | Key::Kp8 |
|
||||
Key::Kp9 | Key::KpMinus | Key::KpMultiply | Key::KpDivide | Key::KpPlus | Key::KpDecimal => true,
|
||||
_ => false
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue