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