Commit fdfb8993 authored by SergeyLuzyanin's avatar SergeyLuzyanin

fix Bug 35322

parent 51bd2282
......@@ -3809,6 +3809,12 @@ CShape.prototype.hitInTextRect = function (x, y) {
if(this.parent && this.parent.kind === AscFormat.TYPE_KIND.NOTES){
return true;
}
var bForceWord = ((this.isEmptyPlaceholder && this.isEmptyPlaceholder()) || (this.isPlaceholder && this.isPlaceholder() && oController && (AscFormat.getTargetTextObject(oController) === this)));
if(bForceWord){
return this.hitInTextRectWord(x, y);
}
if(!this.txWarpStruct || !this.recalcInfo.warpGeometry ||
this.recalcInfo.warpGeometry.preset === "textNoShape" ||
oController && (AscFormat.getTargetTextObject(oController) === this || (oController.curState.startTargetTextObject === this)))
......
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