fix ruler

This commit is contained in:
JFH
2020-12-31 18:41:16 +01:00
parent 5e56e2d19a
commit 031812c7ae
5 changed files with 36 additions and 62 deletions

View File

@@ -480,18 +480,6 @@ class Editor {
*/
init () {
try {
if ('localStorage' in window) { // && onWeb removed so Webkit works locally
/**
* The built-in interface implemented by `localStorage`
* @external Storage
*/
/**
* @name storage
* @memberof module:SVGEditor
* @type {external:Storage}
*/
this.storage = this.localStorage;
}
// Image props dialog added to DOM
const newSeImgPropDialog = document.createElement('se-img-prop-dialog');
newSeImgPropDialog.setAttribute('id', 'se-img-prop');