Fix Wrong position after scale path in IE. By @sarvaje
This commit is contained in:
parent
a96fd3b222
commit
df2dffe152
File diff suppressed because one or more lines are too long
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in New Issue