Quantcast WoWInterface - View Single Post - Error on Move Frame Addon
View Single Post
01-30-20, 08:54 AM   #13
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,214
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.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 01-30-20 at 09:30 AM.
  Reply With Quote