mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Moving nodes with keyboard should flag workspace dirty
This commit is contained in:
		@@ -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.
 | 
			
		||||
@@ -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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user