Commit 0afa9b9d authored by Ilya.Kirillov's avatar Ilya.Kirillov

Исправлен баг с флагами события клавиатуры.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60872 954022d7-b5bf-4e40-9824-e11837661b57
parent 9528f041
......@@ -217,8 +217,8 @@ function check_MouseUpEvent(e)
global_mouseEvent.CtrlKey = e.ctrlKey || e.metaKey;
global_keyboardEvent.AltKey = global_mouseEvent.AltKey;
global_keyboardEvent.CtrlKey = global_mouseEvent.ShiftKey;
global_keyboardEvent.ShiftKey = global_mouseEvent.CtrlKey;
global_keyboardEvent.ShiftKey = global_mouseEvent.ShiftKey;
global_keyboardEvent.CtrlKey = global_mouseEvent.CtrlKey;
global_mouseEvent.Type = g_mouse_event_type_up;
global_mouseEvent.Button = e.button;
......@@ -267,8 +267,8 @@ function check_MouseDownEvent(e, isClicks)
global_mouseEvent.CtrlKey = e.ctrlKey || e.metaKey;
global_keyboardEvent.AltKey = global_mouseEvent.AltKey;
global_keyboardEvent.CtrlKey = global_mouseEvent.ShiftKey;
global_keyboardEvent.ShiftKey = global_mouseEvent.CtrlKey;
global_keyboardEvent.ShiftKey = global_mouseEvent.ShiftKey;
global_keyboardEvent.CtrlKey = global_mouseEvent.CtrlKey;
global_mouseEvent.Type = g_mouse_event_type_down;
global_mouseEvent.Button = e.button;
......
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