diff --git a/src/renderer/components/TimelineSpace.vue b/src/renderer/components/TimelineSpace.vue index c565897b..f4bdbee5 100644 --- a/src/renderer/components/TimelineSpace.vue +++ b/src/renderer/components/TimelineSpace.vue @@ -129,9 +129,10 @@ export default { return false }, onDragEnter(e) { - console.log(e) - // this.dropTarget = e.target - // this.droppableVisible = true + if (e.dataTransfer.types.indexOf('Files') >= 0) { + this.dropTarget = e.target + this.droppableVisible = true + } }, onDragLeave(e) { if (e.target === this.dropTarget) {