YourFavouriteOreo / VTT-Chat-GIFs

1 stars 1 forks source link

Chat GIF doesn't show hidden monsters in initiative tracker. #3

Closed Peenicks closed 2 years ago

Peenicks commented 3 years ago

For whatever reason Chat GIF seems to completely hide monsters from the initiative tracker when they are hidden 2021-06-20 11_22_44-Window 2021-06-20 11_23_35-Foundry Virtual Tabletop • A Standalone Virtual Tabletop Application - Opera

Mod list is only Chat GIF for the purposes of this test. Foundry ver. 0.8.7

apetina commented 3 years ago

I can confirm same issue in Foundry 0.8.8 in Pathfinder 1 system. Combatant disappears too when made invisible from combat tracker.

rbl047 commented 3 years ago

Same issue here. Using D&D 5e on foundry 0.8.8, when I click the "visibility" button on the combat tracker, the character disappears from the list. The only way to put it back on the combat tracker is to go to the token on the map and click on visibility button.

brunocalado commented 3 years ago

Maybe add libwrapper can help with this

happy-cujo commented 3 years ago

The CSS are not scoped correctly. There is a definition for .hidden class (and few different ones) that is used in vanilla Foundry to mark combatant as hidden. This module overrides it and sets it's attributes as display: none; hence the disappearance of the combatant.

The CSS selectors should be scoped to #gifSearch or different class that identifies module part/block.

tehguitarist commented 2 years ago

Made a PR #9 which should fix this.

YourFavouriteOreo commented 2 years ago

v1.0.3 released should fix this