Updated all item types except Class/Subclass

This commit is contained in:
WBHarry 2025-07-05 12:12:32 +02:00
parent 3753452559
commit 18d6bd7dcf
20 changed files with 250 additions and 174 deletions

View file

@ -128,12 +128,20 @@ export default function DHApplicationMixin(Base) {
_createDragDropHandlers() {
return this.options.dragDrop.map(d => {
d.callbacks = {
dragstart: this._onDragStart.bind(this),
drop: this._onDrop.bind(this)
};
return new foundry.applications.ux.DragDrop.implementation(d);
});
}
/**
* Handle dragStart event.
* @param {DragEvent} event
* @protected
*/
_onDragStart(event) {}
/**
* Handle drop event.
* @param {DragEvent} event