From c60e0d389c85f177fd8041dd188ce6f1c5c6facd Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Wed, 5 Oct 2016 10:59:52 +0100 Subject: [PATCH] Mark nodes as changed when they are moved --- editor/js/history.js | 1 + editor/js/ui/view.js | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/editor/js/history.js b/editor/js/history.js index 09ff67dd0..215de3835 100644 --- a/editor/js/history.js +++ b/editor/js/history.js @@ -176,6 +176,7 @@ RED.history = (function() { n.n.x = n.ox; n.n.y = n.oy; n.n.dirty = true; + n.n.changed = n.changed; } // A move could have caused a link splice if (ev.links) { diff --git a/editor/js/ui/view.js b/editor/js/ui/view.js index 8aa0e5fa8..2cc38c7ce 100644 --- a/editor/js/ui/view.js +++ b/editor/js/ui/view.js @@ -806,7 +806,9 @@ RED.view = (function() { if (moving_set.length > 0) { var ns = []; for (var j=0;j 0) { var ns = []; for (var i=0;i