mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-07 21:34:16 +02:00
Added event.stopPropagation to avoid double matches and therefore double drops on drag/drop
This commit is contained in:
parent
4558fbdcf6
commit
56459cd75e
2 changed files with 2 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue