mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Pressing escape whilst DETACH_DRAGGING should revert change
This commit is contained in:
		| @@ -1916,7 +1916,11 @@ RED.view = (function() { | ||||
|             return; | ||||
|         } | ||||
|         if (mouse_mode === RED.state.DETACHED_DRAGGING) { | ||||
|             var node = movingSet.get(0); | ||||
|             node.n.x = node.ox; | ||||
|             node.n.y = node.oy; | ||||
|             clearSelection(); | ||||
|             RED.history.pop(); | ||||
|             mouse_mode = 0; | ||||
|         } else if (mouse_mode === RED.state.IMPORT_DRAGGING) { | ||||
|             clearSelection(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user