diff options
author | Jon Reid | 2012-03-30 14:58:38 -0700 |
---|---|---|
committer | Jon Reid | 2012-03-30 14:58:38 -0700 |
commit | c6ef285c06905c28fe8915f9c4f916e74f6c8287 (patch) | |
tree | 86cbc34b733fa0880f53e4945992bcadbddb977a | |
parent | 18143071c9e1308d6cb9289477563aea22856c5e (diff) | |
download | ninja-c6ef285c06905c28fe8915f9c4f916e74f6c8287.tar.gz |
Timeline: Link layerDragEnd and layerDrop events to better handle end of
drag-and-drop events.
-rw-r--r-- | js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js index a82d3373..3eaf3dec 100644 --- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js +++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | |||
@@ -1071,8 +1071,7 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, { | |||
1071 | // dragend doesn't fire. So if we're here in drop | 1071 | // dragend doesn't fire. So if we're here in drop |
1072 | // and there's still a helper, we need to manually fire dragend. | 1072 | // and there's still a helper, we need to manually fire dragend. |
1073 | if (this._dragAndDropHelper !== null) { | 1073 | if (this._dragAndDropHelper !== null) { |
1074 | this.container_layers.removeChild(this._dragAndDropHelper); | 1074 | this.handleLayerDragEnd(event); |
1075 | this._dragAndDropHelper = null; | ||
1076 | } | 1075 | } |
1077 | } | 1076 | } |
1078 | }, | 1077 | }, |