usually the elite/rare icon indicator will show up on the left side for the default blizzard nameplates.
I want it to show up to the right which is working fine but when I select the nameplate (scales up) then the icon will make a small jump at the wrong direction(left).
Found this part that does prevent the icon scaling but nothing related to it's position.
Heres what I've tried:
Example (default) here
Example issue with my code here.
As always I really appreciate any help :)
Seems that not only the classification indicator but targetmarkers and similar symbols that are part of the nameplate textures are in correlation with the default anchor at the left side which will always move the icons to the left when the nameplate scales up/is selected.
I still couldn't find any solution for this issue yet.
You're setting the right-side anchor to the right point on the nameplate, then applying an offset. When you scale up, naturally, the texture will start overlapping the nameplate again. What you need to do is set the left anchor of the texture instead to the right point on the nameplate.
I would also hook NamePlateDriverFrame at the point when it creates the unitframes. Less chance of affecting other parts of the UI.
Thank you so much for your code and the good explanation.
|All times are GMT -6. The time now is 03:04 AM.|
vBulletin © 2021, Jelsoft Enterprises Ltd
© 2004 - 2021 MMOUI