Remove unused props from AppMenuBarButton

Co-Authored-By: Sergio Padrino <1083228+sergiou87@users.noreply.github.com>
This commit is contained in:
Markus Olsson 2023-12-13 09:53:29 +01:00
parent 4243f920a8
commit 86e142f71b
2 changed files with 0 additions and 10 deletions

View file

@ -27,15 +27,6 @@ interface IAppMenuBarButtonProps {
*/
readonly enableAccessKeyNavigation: boolean
/**
* Whether the menu was opened by pressing Alt (or Alt+X where X is an
* access key for one of the top level menu items). This is used as a
* one-time signal to the AppMenu to use some special semantics for
* selection and focus. Specifically it will ensure that the last opened
* menu will receive focus.
*/
readonly openedWithAccessKey: boolean
/**
* Whether or not to highlight the access key of a top-level menu
* items (if they have one). This is normally true when the Alt-key

View file

@ -472,7 +472,6 @@ export class AppMenuBar extends React.Component<
menuState={menuState}
highlightMenuAccessKey={highlightMenuAccessKey}
enableAccessKeyNavigation={enableAccessKeyNavigation}
openedWithAccessKey={openedWithAccessKey}
onClose={this.onMenuClose}
onOpen={this.onMenuOpen}
onMouseEnter={this.onMenuButtonMouseEnter}