Commit 39783320 by Dmitry Baranovskiy

Fixing pattern in Chrome. Applied suggestion from James McGill.

parent 0648cba9
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -1182,7 +1182,7 @@ window.Raphael = (function () { ...@@ -1182,7 +1182,7 @@ window.Raphael = (function () {
var el = $("pattern"), var el = $("pattern"),
ig = $("image"); ig = $("image");
el.id = "r" + (R._id++)[toString](36); el.id = "r" + (R._id++)[toString](36);
$(el, {x: 0, y: 0, patternUnits: "userSpaceOnUse"}); $(el, {x: 0, y: 0, patternUnits: "userSpaceOnUse", height: 1, width: 1});
$(ig, {x: 0, y: 0}); $(ig, {x: 0, y: 0});
ig.setAttributeNS(o.paper.xlink, "href", isURL[1]); ig.setAttributeNS(o.paper.xlink, "href", isURL[1]);
el[appendChild](ig); el[appendChild](ig);
......
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