label: fixing text
This commit is contained in:
parent
cd89680700
commit
1a1a2bad3d
|
@ -221,7 +221,8 @@ jQuery.fn.springy = function(params) {
|
|||
|
||||
// label
|
||||
|
||||
if (text = typeof(edge.data.label) !== 'undefined') {
|
||||
if (typeof(edge.data.label) !== 'undefined') {
|
||||
text = edge.data.label
|
||||
ctx.save();
|
||||
ctx.textAlign = "center";
|
||||
ctx.textBaseline = "top";
|
||||
|
|
Loading…
Reference in New Issue
Block a user