Workaround of Firefox bug introduced lately.
parent
f39b99ee06
commit
40f0c95002
|
@ -81,7 +81,7 @@
|
|||
display: "none"
|
||||
});
|
||||
var flag,
|
||||
len = pth.getTotalLength();
|
||||
len = Snap.path.getTotalLength(pth.attr("d"));
|
||||
Snap.animate(0, len, function (l) {
|
||||
// Safari bug workaround: forcing redraw
|
||||
g.attr({width: 100 + (flag = !flag ? 1e-5 : 0) + "%"});
|
||||
|
|
Loading…
Reference in New Issue