mirror of
https://github.com/desktop/desktop
synced 2024-09-17 23:21:55 +00:00
Remove unused props from AppMenuBarButton
Co-Authored-By: Sergio Padrino <1083228+sergiou87@users.noreply.github.com>
This commit is contained in:
parent
4243f920a8
commit
86e142f71b
|
@ -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
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue