Commit 029aecdf authored by Oleg Korshul's avatar Oleg Korshul

.

parent b34d7d40
...@@ -1570,7 +1570,8 @@ ...@@ -1570,7 +1570,8 @@
this.delegate.DrawingDocument.NeedScrollToTargetFlag = true; this.delegate.DrawingDocument.NeedScrollToTargetFlag = true;
var y = nearPos.Y; var y = nearPos.Y;
nearPos.Paragraph.Parent.Cursor_MoveAt(nearPos.X, nearPos.Y, false);
nearPos.Paragraph.Parent.MoveCursorToNearestPos(nearPos);
this.delegate.LogicDocument.Document_UpdateSelectionState(); this.delegate.LogicDocument.Document_UpdateSelectionState();
this.delegate.DrawingDocument.NeedScrollToTargetFlag = false; this.delegate.DrawingDocument.NeedScrollToTargetFlag = false;
......
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