Mistype in pattern code fix

master
Dmitry Baranovskiy 2014-05-15 16:58:29 +10:00
parent d2b729cd16
commit 5296fa16a0
1 changed files with 2 additions and 2 deletions

View File

@ -347,8 +347,8 @@ Snap.plugin(function (Snap, Element, Paper, glob, Fragment) {
if (height != null) {
attr.height = height;
}
if (vbx != null && vby != null && vbw != null && vbh != null) {
attr.viewBox = [vbx, vby, vbw, vbh];
if (vx != null && vy != null && vw != null && vh != null) {
attr.viewBox = [vx, vy, vw, vh];
}
}
return this.el("pattern", attr);