Larkinabout / fvtt-token-action-hud-core

Token Action HUD is a repositionable HUD of actions for a selected token.
13 stars 18 forks source link

[Bug] Versatile weapon with grid setting doesn't work #167

Closed Zullock closed 1 year ago

Zullock commented 1 year ago

There is a bug where if you have any versatile weapon with the setting "Grid" from HUD Core the setting doesn't work at all.

Console log:

Uncaught (in promise) TypeError: Cannot read properties of null (reading 'getBoundingClientRect') at CategoryResizer._getGridWidth (token-action-hud-core.min.js:1:15373) at async CategoryResizer.resizeCategory (token-action-hud-core.min.js:1:14408)

Larkinabout commented 1 year ago

Will fix for the next release, but probably best not to use the grid setting on Strikes as it doesn't work well with the widths of the buttons.

Larkinabout commented 1 year ago

Fixed in Token Action HUD Core 1.4.16.