Added event.stopPropagation to avoid double matches and therefore double drops on drag/drop

This commit is contained in:
WBHarry 2026-05-02 20:45:49 +02:00
parent 4558fbdcf6
commit 56459cd75e
2 changed files with 2 additions and 4 deletions

View file

@ -110,6 +110,7 @@ export default class DHAdversarySettings extends DHBaseActorSettings {
}
async _onDrop(event) {
event.stopPropagation();
const data = foundry.applications.ux.TextEditor.implementation.getDragEventData(event);
const item = await fromUuid(data.uuid);