Cell - Unit Frames

Cell - Unit Frames

148k Downloads

[Bug] Shield Bar Texture Scaling

lolswirl opened this issue ยท 13 comments

commented

Addon Version

1.3.4

World of Warcraft Version

Retail

Describe the bug

shield bar texture is scaling somehow unlike cells? not really sure how else to describe
image

Steps to reproduce

enable shield bar texture on unit frames

BugSack

No response

commented

Which texture are you using for the Shield Bar?

For me the scaling looks fine, I'm using the Thick Stripes texture, which should be the one that Cell uses. I can see that the pattern looks reversed compared to Cell though.
image

commented

I took shield.tga directly from Cell and added it to SharedMedia - I thiiiink that's the one that Cell uses since it's defined under the absorbsBar texture under RaidFrames/UnitButton.lua? I can't really see anywhere else that Cell sets it

commented

So I've tried setting the texture directly and I can confirm that Cell does use the Thick Stripes texture, so you should be able to set that and get the same results as above.

commented

I even set the height and width to the same as my cell frames but the texture just doesn't look the same :/
image

commented

What is your resolution / UI scale?

commented

Cell is set to 1.4 and I'm using the CUF_Scale_Snippet_UpdateAppearance callback snippet

commented

Can I get you to try running this?
/run CUF.DB.SetColor("shieldBar", "texture", "Interface\\AddOns\\Cell\\Media\\shield");CUF:Fire("UpdateWidget", CUF.DB.GetMasterLayout(), nil, "shieldBar", "color")

commented

image
Same result

commented

does it work properly if you turn off the scaling snippet?

commented

What is your resolution / UI scale?

image
Here's this as well, if that makes a difference. Misread the ask

commented

image
haha yea looks pretty fine just turned the opposite way without the snippet

commented

Okay, so adding that to the list of reasons I hate scaling haha
Yea the rotation is how it looks on my end too, so thats technically intentional for now.

I'll look into figuring out a fix for it tomorrow.

commented

not a huge issue so take your time but i'd love to get it solved at some point :) appreciate you taking the time for it