stoli / Metropolis

Continuation of Metropolis skin for XBMC
Other
23 stars 21 forks source link

Fix dangling bit at the end of the OSD Progress Bar #293

Closed jingai closed 9 years ago

jingai commented 9 years ago

No idea what's causing it, but it's finally annoying me enough to fix it..

MacGyverr commented 9 years ago

You mean the weird bit at the bottom, like an opposite shadow just near the end?

MacGyverr commented 9 years ago

screenshot000

jingai commented 9 years ago

Yeah. For some reason, adding "< reveal >true< /reveal >" to all the progress bars fixes it. Not exactly sure why, but... oh well, it works lol.

MacGyverr commented 9 years ago

It's not in the graphics, I checked.

jingai commented 9 years ago

Yeah, I did too. It's something to do with the reveal tag, but I'm not 100% sure what that tag is even for. The wiki says "If set to true the midtexture will reveal itself instead of stretching to fill the gap (works best when its the same size as texturebg)". I'm guessing the old behavior (like, pre-Gotham or so) was to default to true, and at some point they exposed the tag and defaulted it to false. I don't really know what it's supposed to do, but it doesn't show the artifact if it's set to true.

If I had to hazard a guess, it's the stretching that's causing the issue -- like it's vertically stretching it as well, but only near the end... The reveal tag maybe just makes copies of the image instead.