From d19ef2e76ca0368a71a75d92e28d8f304c172da4 Mon Sep 17 00:00:00 2001 From: mr21 Date: Tue, 13 Feb 2024 02:41:20 +0100 Subject: [PATCH] gsuiPatterns: change args returned by libraryBufferDropped --- gsuiPatterns/gsuiPatterns.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gsuiPatterns/gsuiPatterns.js b/gsuiPatterns/gsuiPatterns.js index 499ba70d..702104e7 100644 --- a/gsuiPatterns/gsuiPatterns.js +++ b/gsuiPatterns/gsuiPatterns.js @@ -91,9 +91,9 @@ class gsuiPatterns extends gsui0ne { const locBufId = e.dataTransfer.getData( "library-buffer:local" ); if ( defBufId ) { - this.$dispatch( "libraryBufferDropped", "default", defBufId ); + this.$dispatch( "libraryBufferDropped", "library-buffer:default", defBufId ); } else if ( locBufId ) { - this.$dispatch( "libraryBufferDropped", "local", locBufId ); + this.$dispatch( "libraryBufferDropped", "library-buffer:local", locBufId ); } }; this.$elements.lists.synth.ondragover = e => {