Commit 95c983d2 authored by SergeyLuzyanin's avatar SergeyLuzyanin

correct hitInTextRect

parent fdf52f9b
......@@ -3813,7 +3813,9 @@ CShape.prototype.hitInTextRect = function (x, y) {
var bForceWord = ((this.isEmptyPlaceholder && this.isEmptyPlaceholder()) || (this.isPlaceholder && this.isPlaceholder() && oController && (AscFormat.getTargetTextObject(oController) === this)));
if(bForceWord){
return this.hitInTextRectWord(x, y);
if(this.hitInTextRectWord(x, y)){
return true;
}
}
if(!this.txWarpStruct || !this.recalcInfo.warpGeometry ||
this.recalcInfo.warpGeometry.preset === "textNoShape" ||
......
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