Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 633882b

Browse files
committed
fix fallback typos
1 parent 971e3b5 commit 633882b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/snapshot/svgtoimg.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ function svgToImg(opts) {
3434

3535
var canvas = opts.canvas;
3636
var scale = opts.scale || 1;
37-
var w0 = opts.width || 150;
38-
var h0 = opts.height || 300;
37+
var w0 = opts.width || 300;
38+
var h0 = opts.height || 150;
3939
var w1 = scale * w0;
4040
var h1 = scale * h0;
4141

0 commit comments

Comments
 (0)