Closed GoogleCodeExporter closed 9 years ago
Not sure whether this is related: label is now shown and a Console error is
generated when a straight line connector is vertical. I do not use arrows, but
I do use a text label.
The Console log shows:
An invalid or illegal string was specified" code: "12
ctx.fillRect(minx, miny, td.width, td.height) );
(exactly like this, including weird spacing and punctuation).
I did some debugging, and the function mentioned in the Console log appears in
the draw method of jsPlumb.Overlays.Label. The error occurs because miny is NaN
at that point. I know too little of the code to attempt a fix.
I am using the 1.2.6RC1 version retrieved from SVN just now. This also happens
with 1.2.5.
Original comment by eel...@xs4all.nl
on 6 May 2011 at 8:29
Original issue reported on code.google.com by
mastudeb...@gmail.com
on 16 Apr 2011 at 12:32Attachments: