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

Text Shadow on New Token Bars Breaks Apart When Zoomed in

1661790862
Brian C.
Pro
Marketplace Creator
Compendium Curator
The shadow on the new text bars breaks into four pieces when zoomed in because of how the text outline is simulated. I presume this is occurring because the 1px offset on the text-shadow CSS property is not scaling well when the text is zoomed in all the way. A couple options could fix this. Simulate an outside stroke. This is probably the better option because there will never be any gaps in the shadow.&nbsp; <a href="https://www.petercarrero.com/examples/stroke/" rel="nofollow">https://www.petercarrero.com/examples/stroke/</a> Change the 1px offset to something like .05em. This will scale with the text scaling as the user zooms in and out on the VTT.
1661801209
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
That's helpful. Thanks Brian! I'll see if I can direct any attention this way.