View Single Post
10-16-17, 07:30 AM   #8
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Originally Posted by semlar View Post
No, none of this is something the average addon author should even be thinking about.
While i agree with you, i have to say there are some frames that are always visible (unit frames/action bars) where such issue can be really annoying since you see them all the time.

Originally Posted by semlar View Post
As long as your frame elements are all anchored correctly, it will look right regardless of what scale they're using. Things shouldn't be shifting around when you scale them, it should look exactly the same at every scale level, just smaller or larger.
This is sadly not true, lets say you have frame with 2 child frames and there is a 1 pixel space between them. What happens when you scale the frame? The frames gets scaled, child1 will get scaled, child2 will get scaled, and that 1 pixel space will also get scaled (lets say scaled up to 1.5 px) which will break child2's pixel perfection, even it the frame and child1 are pixel perfect.

This also gets applied to model camera distances. If you start scaling a model, then all of it's camera vectors get scaled by the same value (vector distance * UIParentScale * frameEffectiveScale), and if you want to keep the original values, you gonna have to fix this vector distances by yourself.
  Reply With Quote