From 84dbf3cc686ac7d350d63e618fbbd5bdbad6a85a Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 12 Oct 2018 14:36:01 +0300 Subject: [PATCH] Remove 'command+h' hotkey for MacOs (hotkey must close active app) --- apps/documenteditor/main/app/controller/LeftMenu.js | 2 +- apps/spreadsheeteditor/main/app/controller/LeftMenu.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/documenteditor/main/app/controller/LeftMenu.js b/apps/documenteditor/main/app/controller/LeftMenu.js index a1f3752a97..4c05068d0b 100644 --- a/apps/documenteditor/main/app/controller/LeftMenu.js +++ b/apps/documenteditor/main/app/controller/LeftMenu.js @@ -124,7 +124,7 @@ define([ shortcuts: { 'command+shift+s,ctrl+shift+s': _.bind(this.onShortcut, this, 'save'), 'command+f,ctrl+f': _.bind(this.onShortcut, this, 'search'), - 'command+h,ctrl+h': _.bind(this.onShortcut, this, 'replace'), + 'ctrl+h': _.bind(this.onShortcut, this, 'replace'), 'alt+f': _.bind(this.onShortcut, this, 'file'), 'esc': _.bind(this.onShortcut, this, 'escape'), /** coauthoring begin **/ diff --git a/apps/spreadsheeteditor/main/app/controller/LeftMenu.js b/apps/spreadsheeteditor/main/app/controller/LeftMenu.js index 5f982ed945..c1d730f218 100644 --- a/apps/spreadsheeteditor/main/app/controller/LeftMenu.js +++ b/apps/spreadsheeteditor/main/app/controller/LeftMenu.js @@ -106,7 +106,7 @@ define([ shortcuts: { 'command+shift+s,ctrl+shift+s': _.bind(this.onShortcut, this, 'save'), 'command+f,ctrl+f': _.bind(this.onShortcut, this, 'search'), - 'command+h,ctrl+h': _.bind(this.onShortcut, this, 'replace'), + 'ctrl+h': _.bind(this.onShortcut, this, 'replace'), 'alt+f': _.bind(this.onShortcut, this, 'file'), 'esc': _.bind(this.onShortcut, this, 'escape'), /** coauthoring begin **/