Commit 8f6eb44d authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

fix #22

* add a canvas_mouseup call when clicking an empty part of the canvas after editing box text
parent cab88e0f
......@@ -380,7 +380,10 @@ var canvas_events = (function() {
//var fudi_msg = text_to_fudi(textbox().innerText);
//pdgui.pdsend(name, "createobj", fudi_msg);
//pdgui.post("formatted content is " + fudi_msg);
// send a mousedown and mouseup event to Pd to instantiate
// the object
events.mousedown(evt);
events.mouseup(evt);
canvas_events.normal();
}
evt.stopPropagation();
......
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