Skip to content

Switched the Shortcut component to use global MODIFIER_KEY

Denys Mishunov requested to merge 385852-modifier-key-shortcut into master

What does this MR do and why?

The MR refactors how we get the modifier key on different platforms to use the global constant instead of the custom snippet in the component.

Screenshots or screen recordings

Before After
MacOS Screenshot_2023-01-05_at_12.20.14 Screenshot_2023-01-05_at_10.44.20
Windows Screenshot_2023-01-05_at_12.31.31

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #385852 (closed)

Edited by Denys Mishunov

Merge request reports