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