Skip to content

Make accelerator shortcuts order agnostic #211

@Blockyheadman

Description

@Blockyheadman

When defining accelerator shortcuts, it depends on the order of how they're defined in order to work correctly.

For example, i have two shortcuts:

shortcut 1:
alt+`
shortcut 2:
alt+shift+`

if defined in that given order, the first shortcut shadows the shift modified one even though it's registered in the system.

My personal fix:
use a hashtable-like system where accelerators have generated lookups and can be searched for in linear time instead of a for loop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Processes and/or derivativesProcess, ProcessWithPermissions, AppProcess, ThirdPartyAppProcessenhancementNew feature or request
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions