Merge pull request #59 from Eldritch-Oliver/feature/prompt-equip-on-drop
Add a prompt when you drag and drop an item onto an actor that asks you if you want to equip the item automatically
This commit is contained in:
commit
cc917878c3
8 changed files with 114 additions and 53 deletions
|
|
@ -61,7 +61,7 @@ export class AllItemSheetV1 extends GenericAppMixin(HandlebarsApplicationMixin(I
|
|||
await super._processSubmitData(...args);
|
||||
|
||||
if (this.document.system.forceRerender) {
|
||||
await this.render(false);
|
||||
await this.render();
|
||||
};
|
||||
};
|
||||
// #endregion
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ export class ArmourSheet extends GenericAppMixin(HandlebarsApplicationMixin(Item
|
|||
await super._processSubmitData(...args);
|
||||
|
||||
if (this.document.system.forceRerender) {
|
||||
await this.render(false);
|
||||
await this.render();
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue