Plater Nameplates

Plater Nameplates

64M Downloads

This is causing error when opening Plater config page combined with my UI addon. Can you replace "frame" with "PlaterOptionsPanelFrame" instead?

ViksUI opened this issue ยท 5 comments

commented

versionText:SetPoint ("topright", frame, "topright", -25, -7)

commented

versionText:SetPoint ("topright", PlaterOptionsPanelFrame, "topright", -25, -7)

This gives no errors for me

commented

This will be fixed in an upcoming (alpha) version, but it appears that your UI-Addon is leaking a global frame variable.
Edit: you should run a /dump frame and check what is printed with your addon enabled/disabled.

commented

@ViksUI This one most likely (or similar):
https://github.com/ViksUI/ViksUI/blob/70d0c40c06ae30b67f9d28a00c0acc06b25bbfeb/ViksUI/Modules/Chat/CopyChat.lua#L20 If you fix this, the error should be gone. Plater is causing no harm when this, or other frame variables are not global.
That one is actually defined in the file.

commented

Thank you. Yes you are right about that. I made thos locals and all fixed. The last changes you made to Plater also worked fine.