[DE PE SSE] Don't show alt hints on mac by defaulf

This commit is contained in:
JuliaSvinareva 2022-09-30 18:38:21 +03:00
parent 079855bc39
commit 6afd3cbbdc
3 changed files with 3 additions and 3 deletions

View file

@ -1227,7 +1227,7 @@ define([
Common.Utils.InternalSettings.set("de-settings-inputmode", value);
me.api.SetTextBoxInputMode(value);
value = Common.localStorage.getBool("de-settings-use-alt-key", true);
value = Common.localStorage.getBool("de-settings-use-alt-key", Common.Utils.isMac ? false : true);
Common.Utils.InternalSettings.set("de-settings-use-alt-key", value);
/** coauthoring begin **/

View file

@ -852,7 +852,7 @@ define([
Common.Utils.InternalSettings.set("pe-settings-inputmode", value);
me.api.SetTextBoxInputMode(value);
value = Common.localStorage.getBool("pe-settings-use-alt-key", true);
value = Common.localStorage.getBool("pe-settings-use-alt-key", Common.Utils.isMac ? false : true);
Common.Utils.InternalSettings.set("pe-settings-use-alt-key", value);
/** coauthoring begin **/

View file

@ -871,7 +871,7 @@ define([
var zf = (value!==null) ? parseInt(value)/100 : (this.appOptions.customization && this.appOptions.customization.zoom ? parseInt(this.appOptions.customization.zoom)/100 : 1);
this.api.asc_setZoom(zf>0 ? zf : 1);
value = Common.localStorage.getBool("sse-settings-use-alt-key", true);
value = Common.localStorage.getBool("sse-settings-use-alt-key", Common.Utils.isMac ? false : true);
Common.Utils.InternalSettings.set("sse-settings-use-alt-key", value);
/** coauthoring begin **/