X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/ce24094b892d3fb0faf000b5e2bf64f58ce4aae5..2139e7253380f71ffeb8d58728aeabfb66f739b2:/modules/rng/rng.js?ds=inline

diff --git a/modules/rng/rng.js b/modules/rng/rng.js
index a3e746c..59652a7 100644
--- a/modules/rng/rng.js
+++ b/modules/rng/rng.js
@@ -205,6 +205,11 @@ return function(sandbox) {
             commands.updateCurrentNodeElement(nodeElement);
         },
         
+        currentNodeElementChanged: function(nodeElement) {
+            commands.updateCurrentNodeElement(nodeElement);
+            dirty.documentCanvas = true;
+        },
+
         contentChanged: function() {
             dirty.documentCanvas = true;
         },