Commit 2da3e15d authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Поправил баг http://bugzserver/show_bug.cgi?id=20695 (вызвнанный правкой бага...

Поправил баг http://bugzserver/show_bug.cgi?id=20695 (вызвнанный правкой бага http://bugzserver/show_bug.cgi?id=19825 Rev 49686)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50296 954022d7-b5bf-4e40-9824-e11837661b57
parent 3177dbfd
......@@ -1069,7 +1069,8 @@
var h = t.canvas.innerHeight();
var y = - t.textRender.calcLineOffset(t.topLineIndex);
var cur = t.textRender.calcCharOffset(t.cursorPos);
var curLeft = asc_round((kRightAlign !== t.textFlags.textAlign && cur !== null && cur.left !== null ? cur.left : t._getContentPosition()) * t.kx);
var charsCount = t.textRender.getCharsCount();
var curLeft = asc_round(((kRightAlign !== t.textFlags.textAlign || t.cursorPos !== charsCount) && cur !== null && cur.left !== null ? cur.left : t._getContentPosition()) * t.kx);
var curTop = asc_round(((cur !== null ? cur.top : 0) + y) * t.ky);
var curHeight = asc_round((cur !== null ? cur.height : t.options.font.FontSize) * 1.275 * t.ky);
var i, dy;
......
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