sda-1899 change the short cuts for windows

This commit is contained in:
Johan Kwarnmark 2020-03-23 11:38:12 +01:00
parent 9f75cd6e1b
commit 1776d5bf52

View File

@ -977,9 +977,9 @@ export class WindowHandler {
// Hack to switch between Client 1.5, Mana-stable and Mana-daily
if (this.globalConfig.url && this.globalConfig.url.startsWith('https://corporate.symphony.com')) {
globalShortcut.register(isMac ? 'Cmd+Alt+1' : 'Ctrl+Alt+1', this.onClient1_5);
globalShortcut.register(isMac ? 'Cmd+Alt+2' : 'Ctrl+Alt+2', this.onClientManaStable);
globalShortcut.register(isMac ? 'Cmd+Alt+3' : 'Ctrl+Alt+3', this.onClientManaDaily);
globalShortcut.register(isMac ? 'Cmd+Alt+1' : 'Ctrl+Shift+1', this.onClient1_5);
globalShortcut.register(isMac ? 'Cmd+Alt+2' : 'Ctrl+Shift+2', this.onClientManaStable);
globalShortcut.register(isMac ? 'Cmd+Alt+3' : 'Ctrl+Shift+3', this.onClientManaDaily);
} else {
logger.info('Switch between clients not support for this POD-url');
}