aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJon Reid2012-03-26 17:43:26 -0700
committerJon Reid2012-03-26 17:43:26 -0700
commit7bcc313f6d8b3b0228e11bd4eee0278b1142e1f8 (patch)
tree934673a5faff57e457f905b112d735213971da7f /js
parent8ef667315ca6a81bb1369943eaf3643ae2db5037 (diff)
downloadninja-7bcc313f6d8b3b0228e11bd4eee0278b1142e1f8.tar.gz
Timeline: Change dragIcon to be a data-uri.
Diffstat (limited to 'js')
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
index ffcd6686..5e64c066 100644
--- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
+++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
@@ -981,7 +981,8 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, {
981 var dragIcon = document.createElement("img"); 981 var dragIcon = document.createElement("img");
982 event.dataTransfer.effectAllowed = 'move'; 982 event.dataTransfer.effectAllowed = 'move';
983 event.dataTransfer.setData('Text', this.identifier); 983 event.dataTransfer.setData('Text', this.identifier);
984 dragIcon.src = "/images/transparent.png"; 984 // dragIcon.src = "/images/transparent.png";
985 dragIcon.src = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAA1JREFUGFdj+P//PwMACPwC/ohfBuAAAAAASUVORK5CYII="
985 dragIcon.width = 1; 986 dragIcon.width = 1;
986 event.dataTransfer.setDragImage(dragIcon, 0, 0); 987 event.dataTransfer.setDragImage(dragIcon, 0, 0);
987 988