shemetz / roll-from-compendium

FoundryVTT module that adds easy buttons to post things to chat.
MIT License
5 stars 2 forks source link

Replace AbilityUseDialog patches with hooks #14

Closed arbron closed 2 years ago

arbron commented 2 years ago

I decided to see if I could replace those last two libWrapper patched methods with hooks. The lack of a preRender hook for applications meant that I had to do a bit of DOM manipulation to adjust the dialog, but everything seems to work out.