chisaco / jsvectoreditor

Automatically exported from code.google.com/p/jsvectoreditor
1 stars 0 forks source link

addedshape event alternative #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Draw the shape.

What is the expected output? What do you see instead?

addedshape should trigger after drawing ended

editor.on("addedshape", function(event, shape, no_select){

  editor.setMode("select");
  editor.select(shape); 

});

but it is firing just after click event.

is there any other event available after drawing is finished ?

Original issue reported on code.google.com by ng...@intellobuild.com on 28 Apr 2014 at 5:10