#svgSourceEditorDialog edioter changes update issue and button alignment changes

master
Agriya Dev5 2020-12-22 11:23:04 +05:30
parent 83d08c373b
commit ed6651878a
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ template.innerHTML = `
}
#svg_source_editor #tool_source_back {
text-align: left;
padding-left: 20px;
margin: 5px 10px;
}
</style>
<elix-dialog id="svg_source_editor" aria-label="SVG Source Editor" closed>

View File

@ -2845,7 +2845,7 @@ editor.init = () => {
prepPaints();
};
if (!e.detail.value) {
if (!svgCanvas.setSvgString(e.detail.value)) {
const ok = await $.confirm(uiStrings.notification.QerrorsRevertToSource);
if (!ok) {
return;