mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix to Close #72 . remove drag back to left palette to delete.
This commit is contained in:
parent
3c32186a9d
commit
f7fc0760ca
@ -782,7 +782,7 @@ RED.view = function() {
|
||||
|
||||
node.each(function(d,i) {
|
||||
if (d.dirty) {
|
||||
if (d.x < -50) deleteSelection(); // Delete nodes if dragged back to palette
|
||||
//if (d.x < -50) deleteSelection(); // Delete nodes if dragged back to palette
|
||||
if (d.resize) {
|
||||
var l = d._def.label;
|
||||
l = (typeof l === "function" ? l.call(d) : l)||"";
|
||||
|
Loading…
Reference in New Issue
Block a user