File tree 1 file changed +0
-13
lines changed
arduino-ide-extension/src/electron-browser/theia/core
1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change 1
1
import { injectable } from '@theia/core/shared/inversify' ;
2
2
import * as remote from '@theia/core/electron-shared/@electron/remote' ;
3
3
import { isOSX } from '@theia/core/lib/common/os' ;
4
- import { Keybinding } from '@theia/core/lib/common/keybinding' ;
5
4
import {
6
5
CompositeMenuNode ,
7
6
MAIN_MENU_BAR ,
@@ -65,18 +64,6 @@ export class ElectronMainMenuFactory extends TheiaElectronMainMenuFactory {
65
64
return template ;
66
65
}
67
66
68
- protected acceleratorFor ( keybinding : Keybinding ) : string {
69
- // TODO: https://github.com/eclipse-theia/theia/issues/8207
70
- return this . keybindingRegistry
71
- . resolveKeybinding ( keybinding )
72
- . map ( ( binding ) =>
73
- this . keybindingRegistry . acceleratorForKeyCode ( binding , '+' )
74
- )
75
- . join ( '' )
76
- . replace ( '←' , 'Left' )
77
- . replace ( '→' , 'Right' ) ;
78
- }
79
-
80
67
protected createOSXMenu ( ) : Electron . MenuItemConstructorOptions {
81
68
const { submenu } = super . createOSXMenu ( ) ;
82
69
const label = 'Arduino IDE' ;
You can’t perform that action at this time.
0 commit comments