Skip to content

Commit

Permalink
add alt to the token hud showing exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
reonZ committed Jun 23, 2024
1 parent 95ed804 commit 7d18760
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hud/token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ class PF2eHudToken extends makeAdvancedHUD(PF2eHudBaseToken<TokenSettings, Token
event: PIXI.FederatedMouseEvent
) {
wrapped(event);
if (event.shiftKey || event.ctrlKey || game.activeTool !== "select") return;
if (event.altKey || event.shiftKey || event.ctrlKey || game.activeTool !== "select")
return;
if (this === context.token) context.close();
else context.setToken(this);
},
Expand Down

0 comments on commit 7d18760

Please sign in to comment.