dev7355608 / advanced-drawing-tools

Foundry VTT Module: Advanced Drawing Tools
https://foundryvtt.com/packages/advanced-drawing-tools
MIT License
7 stars 0 forks source link

MAT alter function removes Font and advanced drawing colors #8

Closed Vralek closed 1 year ago

Vralek commented 1 year ago

I made a Monks Active tile that Alters the coloration of a drawing on mouse over both in and out functions. However, when it changes, it removes the font and the advanced drawing tools colorations, which I love.

The monks active tile function works as expected, except for the coloration dropping. This happened a few months ago and I hoped an update from ADT would have fixed it but it's still an issue.

Tile setup: https://imgur.com/6nwNTMg https://imgur.com/VbvvTiu Issue: https://imgur.com/oSRG3s5

dev7355608 commented 1 year ago

Technically not a bug, because flags.advanced-drawing-tools.fill is supposed to be an array. MATT doesn't seems to be able to set array values. But I made a change that should allow it to work now.

Vralek commented 1 year ago

Can confirm that this did resolve the issue. It was working prior to a previous update and MAT would change it as expected. Glad that you were able to put in a fix to make it work again. Thanks!

Vralek commented 1 year ago

Fixed result: https://i.imgur.com/PG73eL6.gif