LambrechtsWouter / jsplumb

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

Add an option to hide the endpoint clone #282

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
At the moment when dragging an endpoint, an endpoint clone is left behind. 
Unfortunately this is not always desired. Thus, an option should be added to 
hide the clone, or maybe give it some kind of CSS class that could be used to 
hide it.

Original issue reported on code.google.com by idos...@gmail.com on 3 Oct 2012 at 11:32

GoogleCodeExporter commented 8 years ago
bug reporter solved this by using a 'Blank' endpoint as the "in place copy".  
so if we were to add a flag, something like

hideOnDrag:true

we could use that same solution.

Original comment by simon.po...@gmail.com on 16 Oct 2012 at 11:44

GoogleCodeExporter commented 8 years ago

Original comment by simon.po...@gmail.com on 16 Oct 2012 at 11:45

GoogleCodeExporter commented 8 years ago
fixed in 1.3.16. you can set 'hideOnDrag:true' in endpoint params.

Original comment by simon.po...@gmail.com on 20 Oct 2012 at 6:00

GoogleCodeExporter commented 8 years ago
I just tried upgrading to 1.3.16 and turning on hideOnDrag for the endpoints. 
Unfortunately it doesn't work. Also, looking at the code I don't see hideOnDrag 
anywhere in there:
https://raw.github.com/sporritt/jsPlumb/master/build/1.3.16/js/jquery.jsPlumb-1.
3.16-all.js

Original comment by idos...@gmail.com on 17 Dec 2012 at 10:34

GoogleCodeExporter commented 8 years ago
yeah that's really weird isn't it. it's like i was working in a branch or 
something and it didn't get pulled in.  oh well.  i just added it to 1.4.0 
instead. i will be releasing 1.4.0 reasonably soon.

Original comment by simon.po...@gmail.com on 17 Dec 2012 at 9:27

GoogleCodeExporter commented 8 years ago
Thanks :)

Original comment by idos...@gmail.com on 17 Dec 2012 at 9:28