Commit 62a40396 authored by SergeyLuzyanin's avatar SergeyLuzyanin

hitToHandles returns -1 for shapes in notes

parent babc42ea
...@@ -4895,6 +4895,9 @@ CShape.prototype.hitToAdjustment = function (x, y) { ...@@ -4895,6 +4895,9 @@ CShape.prototype.hitToAdjustment = function (x, y) {
}; };
CShape.prototype.hitToHandles = function (x, y) { CShape.prototype.hitToHandles = function (x, y) {
if(this.parent && this.parent.kind === AscFormat.TYPE_KIND.NOTES){
return -1;
}
return hitToHandles(x, y, this); return hitToHandles(x, y, 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