Fix for marker and pattern values treating. Fix for #102 & #133

master
Dmitry Baranovskiy 2013-11-27 12:53:33 +11:00
parent d6fc9070c5
commit e2fdaaf12e
3 changed files with 7 additions and 7 deletions

File diff suppressed because one or more lines are too long

6
dist/snap.svg.js vendored
View File

@ -14,7 +14,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
// build: 2013-11-26
// build: 2013-11-27
// Copyright (c) 2013 Adobe Systems Incorporated. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
@ -2748,7 +2748,7 @@ function arrayFirstValue(arr) {
if (x == null) {
x = this.getBBox();
}
if (x && "x" in x) {
if (is(x, "object") && "x" in x) {
y = x.y;
width = x.width;
height = x.height;
@ -2790,7 +2790,7 @@ function arrayFirstValue(arr) {
if (x == null) {
x = this.getBBox();
}
if (x && "x" in x) {
if (is(x, "object") && "x" in x) {
y = x.y;
width = x.width;
height = x.height;

View File

@ -2000,7 +2000,7 @@ function arrayFirstValue(arr) {
if (x == null) {
x = this.getBBox();
}
if (x && "x" in x) {
if (is(x, "object") && "x" in x) {
y = x.y;
width = x.width;
height = x.height;
@ -2042,7 +2042,7 @@ function arrayFirstValue(arr) {
if (x == null) {
x = this.getBBox();
}
if (x && "x" in x) {
if (is(x, "object") && "x" in x) {
y = x.y;
width = x.width;
height = x.height;