AliasIO / Raphael.FreeTransform

Free transform tool for Raphaël elements.
http://elbertf.com
362 stars 107 forks source link

Double click #134

Open blueberry-media opened 10 years ago

blueberry-media commented 10 years ago

Hi, I'm trying to implement a doubleclick method and I succeeded but it broke something that is essential to the tool. The dragging of the element :)

    var ft = svg.freeTransform(..,..,..);
    ft.bbox.attr({
        fill:"red",
        opacity:0
    });
    ft.dblclick( function(){
    });

Without the attr command it didn't work but with that I think I messed up the events for the dragging. What is the correct method to implement doubleclicking?