Commit f82e4ce8 by Tomas Alabes

Fix bug with arrow-end/start markers sharing properties. By @vkaravir

parent c25a1aa8
......@@ -204,7 +204,7 @@ window.Raphael && window.Raphael.svg && function(R) {
}
if (type != "none") {
var pathId = "raphael-marker-" + type,
markerId = "raphael-marker-" + se + type + w + h;
markerId = "raphael-marker-" + se + type + w + h + "-obj" + o.id;
if (!R._g.doc.getElementById(pathId)) {
p.defs.appendChild($($("path"), {
"stroke-linecap": "round",
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -5960,7 +5960,7 @@
}
if (type != "none") {
var pathId = "raphael-marker-" + type,
markerId = "raphael-marker-" + se + type + w + h;
markerId = "raphael-marker-" + se + type + w + h + "-obj" + o.id;
if (!R._g.doc.getElementById(pathId)) {
p.defs.appendChild($($("path"), {
"stroke-linecap": "round",
......
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