From 82c036e61f6d4edca08c44ef279884f715dd00e4 Mon Sep 17 00:00:00 2001
From: JFH <20402845+jfhenon@users.noreply.github.com>
Date: Sat, 9 Jan 2021 12:18:00 +0100
Subject: [PATCH] fixes
---
src/editor/EditorStartup.js | 4 +-
src/editor/index.html | 694 ++++++++++++++++++------------------
src/editor/svgedit.css | 219 ------------
src/editor/svgedit.js | 7 +-
4 files changed, 359 insertions(+), 565 deletions(-)
diff --git a/src/editor/EditorStartup.js b/src/editor/EditorStartup.js
index eef3c0fc..2a1e6951 100644
--- a/src/editor/EditorStartup.js
+++ b/src/editor/EditorStartup.js
@@ -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
diff --git a/src/editor/index.html b/src/editor/index.html
index f3b8a5c1..ae415f7b 100644
--- a/src/editor/index.html
+++ b/src/editor/index.html
@@ -28,354 +28,362 @@
-
-
-
-
-
-
-
-
-
-
+
+
+
+
-
-
+
-
-
-
Layers
-
-
-
Move elements to:
-
-
-
L a y e r s
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
Layers
+
+
+
Move elements to:
+
+
+
L a y e r s
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-