Troubbleshooting/error help
Im getting a warning
Gui Warning: Avoiding anchor cycle from [ZO_TargetUnitFramereticleoverName] to [ZO_TargetUnitFramereticleoverLevel] not too sure whats causing it tho this is how i am anchoring its only occuring when i disable and set Default Anchors i have this running OnUpdate only when shown too..... Lua Code:
**it seems as long as ZO_TargetUnitFramereticleoverLevel isnt anchored to ZO_TargetUnitFramereticleoverName everything is fine no error but isnt that the way its anchored default ?? ZO_TargetUnitFramereticleoverLevel:SetAnchor(RIGHT, ZO_TargetUnitFramereticleoverName, LEFT, -5, 0) ** is everyhting anchored to ZO_TargetUnitFramereticleoverTextArea would anyone know ? and then eso has just adjusted the x,y to proper places? any help would be awesome thank you |
well this is what ive figured out to fix the error
Lua Code:
but if anyone knows how all the default text gets anchored to the target frame any insight would still be awesome this is more of a workaround to get everything aligned correctly without having the anchor error and to reloading the UI on disable :S |
Well, an anchor cycle is when you have x anchored with reference to y, and y anchored with reference to x, at the same time. Maybe you could try clearing all anchors together, then setting them all, rather than clear/set, clear/set?
|
Quote:
Lua Code:
But to be sure, you can store default anchors first: Lua Code:
|
@Garkin you've helped me so much on this site recently thank you, ill try this out :)
|
Garkin is awesome that way. :banana:
|
All times are GMT -6. The time now is 07:57 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI