This commit is contained in:
JFH
2021-01-09 12:18:00 +01:00
parent 3e97186f6e
commit 82c036e61f
4 changed files with 359 additions and 565 deletions

View File

@@ -61,6 +61,8 @@ class EditorStartup {
* @returns {void}
*/
async init () {
// allow to prepare the dom without display
$id('svg_editor').style.visibility = 'hidden';
try {
// Image props dialog added to DOM
const newSeImgPropDialog = document.createElement('se-img-prop-dialog');
@@ -725,7 +727,7 @@ class EditorStartup {
const {langParam, langData} = await this.putLocale(this.configObj.pref('lang'), this.goodLangs);
await this.setLang(langParam, langData);
$id('svg_container').style.visibility = 'visible';
$id('svg_editor').style.visibility = 'visible';
try {
// load standard extensions