diff options
| author | Lex Neva <github.com@lexneva.name> | 2018-04-17 15:16:50 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2018-04-18 15:26:33 -0400 |
| commit | 540bf2062a87da5629c7ed98300b39caeffe397f (patch) | |
| tree | 767bfed638b5358e38a4cef3f852ac704e27f772 | |
| parent | cb1b3756d8d029c7f92e1748e9eb42a78d89b5a2 (diff) | |
fit scales up svg if necessary
| -rw-r--r-- | print/resources/inkstitch.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/print/resources/inkstitch.js b/print/resources/inkstitch.js index 0571f432..8c5e8fa6 100644 --- a/print/resources/inkstitch.js +++ b/print/resources/inkstitch.js @@ -33,8 +33,6 @@ function scaleSVG(element, scale = 'fit') { element.width() / element.find('svg').width(), element.height() / element.find('svg').height() ); - // Do not scale to more than 100% - scale = (scale <= 1) ? scale : 1; } transform += " scale(" + scale + ")"; |
