Skip to content

Commit

Permalink
don't intercept alt key on mac
Browse files Browse the repository at this point in the history
fixes #613
  • Loading branch information
kaikalii committed Nov 26, 2024
1 parent d93a208 commit 0fa666a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pad/editor/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ pub fn Editor<'a>(
});
}
// Intercept forward/back keyboard navigation
"ArrowLeft" | "ArrowRight" if event.alt_key() => {}
"ArrowLeft" | "ArrowRight" if !on_mac() && event.alt_key() => {}
// Chrome 😠
"Unidentified" => {
set_timeout(
Expand Down

0 comments on commit 0fa666a

Please sign in to comment.