From ca6cda62eee7623b450a71a5f99d0e214a19b013 Mon Sep 17 00:00:00 2001 From: Garrett Corbin Date: Thu, 21 Nov 2024 19:13:44 -0800 Subject: [PATCH] fixed + and - accelerators on macOS --- src/platform_impl/macos/accelerator.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/platform_impl/macos/accelerator.rs b/src/platform_impl/macos/accelerator.rs index deeeb89..4192dd1 100644 --- a/src/platform_impl/macos/accelerator.rs +++ b/src/platform_impl/macos/accelerator.rs @@ -103,6 +103,8 @@ impl Accelerator { Code::F22 => "\u{F719}".into(), Code::F23 => "\u{F71A}".into(), Code::F24 => "\u{F71B}".into(), + Code::NumpadAdd => "+".into(), + Code::NumpadSubtract => "-".into(), key => return Err(AcceleratorParseError::UnsupportedKey(key.to_string())), }) }