BNToastFrame
ok so here it is, in my UI i am placing my unit frames however where i have the player frame the Battle.net toast frame just loves to pop up durring battle covering up part of my player frame and part of my pet frame
ive tried this, to no avail. Code:
-- BNToastFrame:ClearAllPoints ... however when anyone actualy logs in or out by via battle.net, it pops up in its original place |
Yeah, it's gonna keep resetting the anchors. Here's what I done to make sure it "stays":
Code:
hooksecurefunc("BNToastFrame_UpdateAnchor", function() |
Quote:
here's the complete code considering this frame if anyone can help Code:
-- welcome to Project Deranjata Artwork, Visual Style Portion of Project Deranjata "post note" the toast frame should end up appearing inside LeftChatBaseFrame |
Hey,
I'm surprised that Lombra's suggestion isn't working for you. You could try dictating the anchor points whenever the frame shows: Lua Code:
On a side note after looking at your code. I know it's tempting to change something like reducing scale with an addon, and I appreciate that you've commented on the fact that increasing the scale will break your addon. Remember though that some people have over 100 addons installed at any one time. They'll likely not take kindly to a change in scale destroying the setup of all their other addons! |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
Also, players with poor eyesight need to increase the UI scale so that text is readable. If you forcibly decrease the scale of the entire UI simply because you're too lazy to position your frames correctly, then such users cannot use your UI, because they will not be able to read anything. It's just not that hard to place and size frames correctly. See LibWindow-1.1 for an example of proper resolution-independent frame placement and scaling that doesn't destroy the user's existing UI and screw over visually impaired users. |
All times are GMT -6. The time now is 07:57 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI