From 0764b3d6865ca7492a3dd9604cdb2518021e5c0b Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Wed, 29 Jan 2020 18:55:10 +0100 Subject: [PATCH] Panels remmebering position --- Panels/LayersPanel.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Panels/LayersPanel.js b/Panels/LayersPanel.js index 5bcd308ed..4d2d08bf7 100644 --- a/Panels/LayersPanel.js +++ b/Panels/LayersPanel.js @@ -81,6 +81,7 @@ function newLayersPanel () { desiredVisibleLayers = storedValue } + loadFrame(thisObject.payload, thisObject.container.frame) isInitialized = true } @@ -257,7 +258,7 @@ function newLayersPanel () { function physics () { if (isInitialized === false) { return } - + saveFrame(thisObject.payload, thisObject.container.frame) /* The overall idea here is that we need to keep syncronized the panel with the layers that are defined at the Designer. Users can connect or disconnect any objext resulting in changes in which