google-code-export / jsplumb

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

Endpoint does not honor the cssClass option #310

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Instantiating an Endpoint with the cssClass option set does not add that CSS 
class to the element.

hoverClass option is add/removed on mouse over/out correctly.

Tested on 1.4.0-RC1 from GitHub.

Original issue reported on code.google.com by luk...@walukiewicz.eu on 14 Jan 2013 at 1:15

GoogleCodeExporter commented 9 years ago
It looks like jsPlumb is creating two additional endpoint when connection is 
created by dragging the source endpoint.

These copies also do not have the cssClass option applied.

Also, copy that is following the cursor is positioned slightly incorrectly and 
it's visible behind the true endpoint. Hard to see if you'are using paintStyle 
and not CSS to style endpoints.

Original comment by luk...@walukiewicz.eu on 14 Jan 2013 at 6:44

GoogleCodeExporter commented 9 years ago

Original comment by simon.po...@gmail.com on 16 Jan 2013 at 9:26

GoogleCodeExporter commented 9 years ago
all of this is fixed in 1.4.0 now. i'll be releasing 1.4.0 soon...just another 
couple of issues to go.

Original comment by simon.po...@gmail.com on 20 Feb 2013 at 10:16