fit scales up svg if necessary

pull/148/head
Lex Neva 2018-04-17 15:16:50 -04:00
rodzic cb1b3756d8
commit 540bf2062a
1 zmienionych plików z 0 dodań i 2 usunięć

Wyświetl plik

@ -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 + ")";