Fix Wrong position after scale path in IE. By @sarvaje

This commit is contained in:
Tomas Alabes 2013-06-17 19:14:10 -03:00
parent a96fd3b222
commit df2dffe152
3 changed files with 3 additions and 3 deletions

2
raphael-min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -7529,7 +7529,7 @@
split,
isGrad = ~Str(this.attrs.fill).indexOf("-"),
isPatt = !Str(this.attrs.fill).indexOf("url(");
matrix.translate(-.5, -.5);
matrix.translate(1, 1);
if (isPatt || isGrad || this.type == "image") {
skew.matrix = "1 0 0 1";
skew.offset = "0 0";

View File

@ -474,7 +474,7 @@ window.Raphael && window.Raphael.vml && function(R) {
split,
isGrad = ~Str(this.attrs.fill).indexOf("-"),
isPatt = !Str(this.attrs.fill).indexOf("url(");
matrix.translate(-.5, -.5);
matrix.translate(1, 1);
if (isPatt || isGrad || this.type == "image") {
skew.matrix = "1 0 0 1";
skew.offset = "0 0";