From c66c7898a42e29d158f558a39f8575a3081be555 Mon Sep 17 00:00:00 2001 From: jalensailin Date: Mon, 17 Jul 2023 16:23:49 -0400 Subject: [PATCH] change event to `mouseup` so that right-clicking still works; --- module/actor/actor-sheet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/actor/actor-sheet.js b/module/actor/actor-sheet.js index 920b496..06b8687 100644 --- a/module/actor/actor-sheet.js +++ b/module/actor/actor-sheet.js @@ -205,7 +205,7 @@ export class DeltaGreenActorSheet extends ActorSheet { // Rollable abilities - bind to everything with the 'Rollable' class //html.find('.rollable').click(this._onRoll.bind(this)); - html.find('.rollable').click(this._onRoll.bind(this)); + html.find('.rollable').mouseup(this._onRoll.bind(this)); // Macro for toggling an item's equipped state html.find('.equipped-item').mousedown(this._onEquippedStatusChange.bind(this));