Commit bff41b9e authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

AltGraph mode

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@65165 954022d7-b5bf-4e40-9824-e11837661b57
parent 074c0219
......@@ -132,8 +132,12 @@ function check_KeyboardEvent(e)
global_keyboardEvent.CtrlKey = e.ctrlKey;
global_keyboardEvent.AltGr = (global_keyboardEvent.CtrlKey && global_keyboardEvent.AltKey) ? true : false;
if (AscBrowser.isMacOs)
{
global_keyboardEvent.AltGr = (!global_keyboardEvent.CtrlKey && global_keyboardEvent.AltKey) ? true : false;
}
if (global_keyboardEvent.CtrlKey && global_keyboardEvent.AltKey)
if (global_keyboardEvent.AltGr)
global_keyboardEvent.CtrlKey = false;
global_keyboardEvent.ShiftKey = e.shiftKey;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment