mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-09 22:28:10 +02:00
Updated all item types except Class/Subclass
This commit is contained in:
parent
3753452559
commit
18d6bd7dcf
20 changed files with 250 additions and 174 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue