summaryrefslogtreecommitdiff
path: root/print/resources
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2018-04-17 15:16:50 -0400
committerLex Neva <github.com@lexneva.name>2018-04-18 15:26:33 -0400
commit540bf2062a87da5629c7ed98300b39caeffe397f (patch)
tree767bfed638b5358e38a4cef3f852ac704e27f772 /print/resources
parentcb1b3756d8d029c7f92e1748e9eb42a78d89b5a2 (diff)
fit scales up svg if necessary
Diffstat (limited to 'print/resources')
-rw-r--r--print/resources/inkstitch.js2
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 + ")";