1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Clear link_splice style on drag end

This commit is contained in:
Nick O'Leary 2016-01-11 11:00:54 +00:00
parent 4c6771669b
commit 4fc568856a

View File

@ -223,6 +223,7 @@ RED.palette = (function() {
revert: true,
revertDuration: 50,
start: function() {RED.view.focus();},
stop: function() { d3.select('.link_splice').classed('link_splice',false); if (spliceTimer) { clearTimeout(spliceTimer); spliceTimer = null;}},
drag: function(e,ui) {
// TODO: this is the margin-left of palette node. Hard coding
// it here makes me sad