mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-24 08:23:38 +02:00
Compare commits
2 commits
876e496d24
...
d3ebd30e59
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d3ebd30e59 | ||
|
|
c2807e0676 |
2 changed files with 6 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ export default class DHContextMenu extends foundry.applications.ux.ContextMenu {
|
|||
const element = event.target.closest('.context-item');
|
||||
if (!element) return;
|
||||
const item = this.menuItems.find(i => i.element === element);
|
||||
item?.callback(this.#jQuery ? $(this.target) : this.target, event);
|
||||
item?.onClick(event, this.#jQuery ? $(this.target) : this.target);
|
||||
this.close();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -870,6 +870,11 @@ export const activeEffectModes = {
|
|||
priority: 20,
|
||||
label: 'EFFECT.CHANGES.TYPES.add'
|
||||
},
|
||||
subtract: {
|
||||
id: 'subtract',
|
||||
priority: 20,
|
||||
label: 'EFFECT.CHANGES.TYPES.subtract'
|
||||
},
|
||||
downgrade: {
|
||||
id: 'downgrade',
|
||||
priority: 30,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue