#103 image import issue fixed

This commit is contained in:
Agriya Dev5
2021-05-22 17:22:07 +05:30
parent 0579213abf
commit 203af05cd5
3 changed files with 4 additions and 7 deletions

View File

@@ -655,7 +655,7 @@ class EditorStartup {
editorObj.svgCanvas.selectOnly([ newImage ]);
editorObj.svgCanvas.alignSelectedElements('m', 'page');
editorObj.svgCanvas.alignSelectedElements('c', 'page');
editorObj.topPanelHandlers.updateContextPanel();
editorObj.topPanel.updateContextPanel();
document.getElementById('se-prompt-dialog').setAttribute('close', true);
};
// create dummy img so we know the default dimensions