Commit c78b3ad9 by Tomas Alabes

Merge pull request #709 from gitpullgravity/master

Tiny bug, using 'Raphael' instead of 'R'
parents 14545051 1db9be57
...@@ -5905,7 +5905,7 @@ ...@@ -5905,7 +5905,7 @@
attr = {}; attr = {};
attr["marker-" + se] = "url(#" + markerId + ")"; attr["marker-" + se] = "url(#" + markerId + ")";
if (to || from) { if (to || from) {
attr.d = Raphael.getSubpath(attrs.path, from, to); attr.d = R.getSubpath(attrs.path, from, to);
} }
$(node, attr); $(node, attr);
o._.arrows[se + "Path"] = pathId; o._.arrows[se + "Path"] = pathId;
...@@ -5921,7 +5921,7 @@ ...@@ -5921,7 +5921,7 @@
from = 0; from = 0;
to = R.getTotalLength(attrs.path) - (o._.arrows.enddx * stroke || 0); to = R.getTotalLength(attrs.path) - (o._.arrows.enddx * stroke || 0);
} }
o._.arrows[se + "Path"] && $(node, {d: Raphael.getSubpath(attrs.path, from, to)}); o._.arrows[se + "Path"] && $(node, {d: R.getSubpath(attrs.path, from, to)});
delete o._.arrows[se + "Path"]; delete o._.arrows[se + "Path"];
delete o._.arrows[se + "Marker"]; delete o._.arrows[se + "Marker"];
delete o._.arrows[se + "dx"]; delete o._.arrows[se + "dx"];
......
...@@ -261,7 +261,7 @@ ...@@ -261,7 +261,7 @@
attr = {}; attr = {};
attr["marker-" + se] = "url(#" + markerId + ")"; attr["marker-" + se] = "url(#" + markerId + ")";
if (to || from) { if (to || from) {
attr.d = Raphael.getSubpath(attrs.path, from, to); attr.d = R.getSubpath(attrs.path, from, to);
} }
$(node, attr); $(node, attr);
o._.arrows[se + "Path"] = pathId; o._.arrows[se + "Path"] = pathId;
...@@ -277,7 +277,7 @@ ...@@ -277,7 +277,7 @@
from = 0; from = 0;
to = R.getTotalLength(attrs.path) - (o._.arrows.enddx * stroke || 0); to = R.getTotalLength(attrs.path) - (o._.arrows.enddx * stroke || 0);
} }
o._.arrows[se + "Path"] && $(node, {d: Raphael.getSubpath(attrs.path, from, to)}); o._.arrows[se + "Path"] && $(node, {d: R.getSubpath(attrs.path, from, to)});
delete o._.arrows[se + "Path"]; delete o._.arrows[se + "Path"];
delete o._.arrows[se + "Marker"]; delete o._.arrows[se + "Marker"];
delete o._.arrows[se + "dx"]; delete o._.arrows[se + "dx"];
......
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 sign in to comment