iobroker.mywebui 1.37.88 → 1.37.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/io-package.json
CHANGED
package/package.json
CHANGED
|
@@ -49,7 +49,7 @@ export class IobrokerWebuiAppShell extends BaseCustomWebComponentConstructorAppe
|
|
|
49
49
|
npmState;
|
|
50
50
|
scriptSystem;
|
|
51
51
|
bindingsHelper;
|
|
52
|
-
_editorAnimationsEnabled =
|
|
52
|
+
_editorAnimationsEnabled = localStorage.getItem('webui-editor-animations-disabled') === 'true';
|
|
53
53
|
static style = css `
|
|
54
54
|
:host {
|
|
55
55
|
display: block;
|
|
@@ -1095,6 +1095,7 @@ export class IobrokerWebuiAppShell extends BaseCustomWebComponentConstructorAppe
|
|
|
1095
1095
|
|
|
1096
1096
|
_setEditorAnimationsEnabled(value) {
|
|
1097
1097
|
this._editorAnimationsEnabled = value;
|
|
1098
|
+
localStorage.setItem('webui-editor-animations-disabled', value);
|
|
1098
1099
|
// Sync both checkboxes
|
|
1099
1100
|
const animCb = this._getDomElement('animationsDock')?.querySelector('#editor-anim-cb');
|
|
1100
1101
|
const fxCb = this._getDomElement('effectsDock')?.querySelector('#editor-fx-cb');
|