From 8216906547ad8c37b9c4b54a0c24f712b46bc972 Mon Sep 17 00:00:00 2001
From: netpro2k <netpro2k@gmail.com>
Date: Tue, 17 Jul 2018 16:03:04 -0700
Subject: [PATCH] Fix dragged objects not spawning correctly

---
 src/hub.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/hub.js b/src/hub.js
index e9dcad31d..d98d37a05 100644
--- a/src/hub.js
+++ b/src/hub.js
@@ -343,7 +343,7 @@ const onReady = async () => {
         const imgUrl = e.dataTransfer.getData("url");
         if (imgUrl) {
           console.log("Dropped: ", imgUrl);
-          addMedia(imgUrl);
+          spawnMediaInfrontOfPlayer(imgUrl);
         }
       });
     }
-- 
GitLab