Quantcast WoWInterface - View Single Post - Error on Move Frame Addon
View Single Post
01-30-20, 11:00 AM   #15
BloodDragon
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Mar 2017
Posts: 16
Originally Posted by Fizzlemizz View Post
Because the addon is LOD, its frame is created after the PLAYER_LOGIN event which means SetUserPlaced doesn't work (save/restore the last known position).

You will need to save/restore it's position manually or you could try creating your drag frame when your addon loads (ie. use your EventFrame (and give it a name) for the drag frame and set it as dragable, user placed, OnDragSart/Stop etc.) and when the AzeriteEssenceUI is loaded, resize it to the width of the AzeriteEssenceUIx15 and Clear/SetPoint the AzeriteEssenceUI to your EventFrame.
Ok then i have to look at which position i have to write what. Now it gets a bit complicated for me ^^.
  Reply With Quote