remove duplication issue

This commit is contained in:
psitacus 2025-07-08 22:02:44 -06:00
parent 2ea85af15c
commit bee41cc546

View file

@ -686,6 +686,10 @@ export default class CharacterSheet extends DHBaseActorSheet {
}
async _onDrop(event) {
// Prevent event bubbling to avoid duplicate handling
event.preventDefault();
event.stopPropagation();
super._onDrop(event);
this._onDropItem(event, TextEditor.getDragEventData(event));
}