Commit f7af6af3 authored by Ilya.Kirillov's avatar Ilya.Kirillov

Сделано, чтобы при движении курсора стрелками он перемещался сразу без ожидания таймера отрисовки.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@67014 954022d7-b5bf-4e40-9824-e11837661b57
parent e0251128
......@@ -9997,6 +9997,7 @@ CDocument.prototype =
if ( true != e.ShiftKey )
this.DrawingDocument.TargetStart();
this.DrawingDocument.UpdateTargetFromPaint = true;
this.Cursor_MoveLeft( true === e.ShiftKey, true === e.CtrlKey );
bRetValue = keydownresult_PreventAll;
}
......@@ -10007,6 +10008,7 @@ CDocument.prototype =
if ( true != e.ShiftKey )
this.DrawingDocument.TargetStart();
this.DrawingDocument.UpdateTargetFromPaint = true;
this.Cursor_MoveUp( true === e.ShiftKey );
bRetValue = keydownresult_PreventAll;
}
......@@ -10016,6 +10018,7 @@ CDocument.prototype =
if ( true != e.ShiftKey )
this.DrawingDocument.TargetStart();
this.DrawingDocument.UpdateTargetFromPaint = true;
this.Cursor_MoveRight( true === e.ShiftKey, true === e.CtrlKey );
bRetValue = keydownresult_PreventAll;
}
......@@ -10026,6 +10029,7 @@ CDocument.prototype =
if ( true != e.ShiftKey )
this.DrawingDocument.TargetStart();
this.DrawingDocument.UpdateTargetFromPaint = true;
this.Cursor_MoveDown( true === e.ShiftKey );
bRetValue = keydownresult_PreventAll;
}
......
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