Skip to content

Commit

Permalink
fixed + and - accelerators on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
platevoltage committed Nov 22, 2024
1 parent 99ec648 commit ca6cda6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/platform_impl/macos/accelerator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())),
})
}
Expand Down

0 comments on commit ca6cda6

Please sign in to comment.