Commit 97c7f28e authored by hertzhaft's avatar hertzhaft

move handle after positionShape event

parent 1c10637a
......@@ -591,8 +591,8 @@
var pt = geom.position(evt);
pt.clipTo(imgRect);[vtx] = pt;
$(data).trigger('positionShape', shape);
if (isSupported(data, shapeType)) {
// update shape object and trigger drag event
var p = data.imgTrafo.invtransform(pt);
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