DmitryBaranovskiy/raphael — Issue #506: Removed arrows aren't removed when other arrows present
Author: beldaz
Created: 2012-01-28 09:53:17+00:00
State: open

Possibly related to #471.
This works as expected, with no arrow displayed:

var paper = Raphael(0, 0, 400, 300);
paper.path("M0 0L200 200").attr({
"stroke-width": 5,
"stroke": "blue",
"arrow-end": "block-wide-long"
}).attr("arrow-end","none");

However, when another arrow is used elsewhere the arrow remains displayed:

var paper = Raphael(0, 0, 400, 300);
paper.path("M200 0L0 200").attr({
"stroke-width": 5,
"stroke": "blue",
"arrow-end": "block-wide-long"
});
paper.path("M0 0L200 200").attr({
"stroke-width": 5,
"stroke": "blue",
"arrow-end": "block-wide-long"
}).attr("arrow-end","none");