Skip to content

Commit

Permalink
Moving nodes with keyboard should flag workspace dirty
Browse files Browse the repository at this point in the history
  • Loading branch information
knolleary committed Jan 12, 2016
1 parent abd51a5 commit cb8fe84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion editor/js/ui/view.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2013, 2015 IBM Corp.
* Copyright 2013, 2016 IBM Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -821,6 +821,7 @@ RED.view = (function() {
delete moving_set[i].oy;
}
RED.history.push({t:'move',nodes:ns,dirty:RED.nodes.dirty()});
RED.nodes.dirty(true);
}
function moveSelection(dx,dy) {
var minX = 0;
Expand Down

0 comments on commit cb8fe84

Please sign in to comment.