frontend: Enable use of delete key on macOS #12799
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Adds the "Delete" key to list of keyboard shortcuts that can trigger a scene item removal on macOS.
Motivation and Context
While it is canonical to use the backspace key as an alternative to the dedicated "delete" key (which is omitted on many smaller-sized Apple keyboards), the delete key is still available on full-size Apple keyboards and obviously third-party keyboards.
This change adds the delete key as an alternative to the backspace key to allow removal of scene items from the scene list in the UI.
How Has This Been Tested?
Tested on macOS 26 with full-size Apple keyboard.
Types of changes
Checklist: