Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Token Mod - Compact Bar | Off Not Adding Text

I am using the TokenMod library and have a minor bug. This screenshot (hopefully) illustrates the issue. Left token shows the Standard bar with 10/10 hit points overlaid. Middle token is a result of  !token-mod --set compact_bar|on and shows the Compact bar with no hit points overlaid. Right token is a result of  !token-mod --set compact_bar|off and shows the Standard bar (in terms of pixel height) but without 10/10 hit points overlaid.  The hit points overlay does come back if I manually edit the token, select Compact and select Standard and then save. Not sure if this is a TokenMod library bug or a Roll20 bug. Hope this helps those in charge.
1680713867
The Aaron
Roll20 Production Team
API Scripter
99% sure that's a bug in Roll20, but I'll test it and get to the bottom of it.  Thanks for bringing it up!
Thanks! I should be super, duper, crispy clear that this did *not* repro once. i.e.  This happens for me all the time except for one time.  I don't know the scenario.
1680714283
The Aaron
Roll20 Production Team
API Scripter
Hmm...   I can't seem to replicate this.  Do you want to PM me an invite link and GM me, and I'll come and try to replicate it in your game?
Sent you a PM. Funny enough, I got it to repro again, but then I couldn't.  Perhaps it may be if you start with a Compact bar first, then set to Standard?  Hard to say.
That may be the key to repro.  Try *starting* with the token in Compact mode.  Then issue  !token-mod --set compact_bar|off .
1680729901
The Aaron
Roll20 Production Team
API Scripter
Ah, that did duplicate it for me!  Great find on the UI setting being the key.  I've duplicated it and sent reproduction steps to the Devs.
Gravy!  Thanks!