Commit e1709186 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

поправлен баг со сдвигом селекта после селекта текста в шейпе

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50751 954022d7-b5bf-4e40-9824-e11837661b57
parent e6718a01
......@@ -1098,7 +1098,7 @@ WordShape.prototype =
var _vertical_shift;
var _text_rect_height = _b - _t;
var _text_rect_width = _r - _l;
if(_body_pr.upright === false)
if(!_body_pr.upright)
{
if(!(_body_pr.vert === nVertTTvert || _body_pr.vert === nVertTTvert270))
{
......@@ -1902,7 +1902,7 @@ WordShape.prototype =
_b = this.absExtY - b_ins;
}
if(_body_pr.upright === false)
if(!_body_pr.upright)
{
var _content_width;
if(!(_body_pr.vert === nVertTTvert || _body_pr.vert === nVertTTvert270))
......@@ -2859,7 +2859,7 @@ WordShape.prototype =
_r = this.absExtX;
_b = this.absExtY;
}
if(this.bodyPr.upright === false)
if(!this.bodyPr.upright)
{
var invert_text_transform = global_MatrixTransformer.Invert(this.transform);
var transformed_x = invert_text_transform.TransformPointX(x, y);
......
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