Commit 5d61ce3e authored by alexey.musinov's avatar alexey.musinov

[mobile] fixed selected text

parent d12a8123
...@@ -754,6 +754,7 @@ CDrawingDocument.prototype = ...@@ -754,6 +754,7 @@ CDrawingDocument.prototype =
TargetStart : function() TargetStart : function()
{ {
this.Native["DD_TargetStart"](); this.Native["DD_TargetStart"]();
this.TextMatrix = null;
}, },
TargetEnd : function() TargetEnd : function()
{ {
...@@ -777,14 +778,14 @@ CDrawingDocument.prototype = ...@@ -777,14 +778,14 @@ CDrawingDocument.prototype =
this.TextMatrix.sy = matrix.sy; this.TextMatrix.sy = matrix.sy;
this.TextMatrix.tx = matrix.tx; this.TextMatrix.tx = matrix.tx;
this.TextMatrix.ty = matrix.ty; this.TextMatrix.ty = matrix.ty;
this.Native["DD_UpdateTargetTransform"](matrix.sx, matrix.shy, matrix.shx, matrix.sy, matrix.tx, matrix.ty); this.Native["DD_UpdateTargetTransform"](matrix.sx, matrix.shy, matrix.shx, matrix.sy, matrix.tx, matrix.ty);
} }
else //else
{ //{
this.TextMatrix = null; // this.TextMatrix = null;
this.Native["DD_RemoveTargetTransform"](); // this.Native["DD_RemoveTargetTransform"]();
} //}
}, },
UpdateTarget : function(x, y, pageIndex) UpdateTarget : function(x, y, pageIndex)
{ {
......
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