Commit 4289110
committed
Add native macOS Edit menu for keyboard shortcuts
Cmd+C/V/X/A don't work in Neutralino.js window mode on macOS without
a native Edit menu. This is a known issue (neutralinojs#219, #712).
Add setMainMenu() with Edit menu containing cut, copy, paste, selectAll,
undo, and redo actions with proper keyboard accelerators.1 parent 67839f9 commit 4289110
1 file changed
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
496 | 525 | | |
497 | 526 | | |
498 | 527 | | |
| |||
0 commit comments