Merge pull request #148 from iuyiuy/optimized_loading

Optimized loading by removing unnecessary code
master
Jeff Schiller 2016-11-14 08:17:10 -08:00 committed by GitHub
commit f7a1d2eb81
1 changed files with 0 additions and 10 deletions

View File

@ -4517,16 +4517,6 @@ this.setSvgString = function(xmlString) {
convertGradients(content[0]);
// recalculate dimensions on the top-level children so that unnecessary transforms
// are removed
svgedit.utilities.walkTreePost(svgcontent, function(n) {
try {
svgedit.recalculate.recalculateDimensions(n);
} catch(e) {
console.log(e);
}
});
var attrs = {
id: 'svgcontent',
overflow: curConfig.show_outside_canvas ? 'visible' : 'hidden'