View Single Post
05/22/14, 11:22 AM   #12
Tar000un
 
Tar000un's Avatar
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 47
It works better since i ve removed a lign :
Lua Code:
  1. settings = defaults;

This was causing me so many troubles... With your clue about offset, i saw on zgoo that my defaults were updated by the move.

From a
Lua Code:
  1. settings.x = UI:getLeft();
And do defaults.x = settings.x = UI:getLeft()...


***

I m using
Lua Code:
  1. UI:ClearAnchors()
  2. UI:SetAnchor(TOPLEFT, GuiRoot, TOPLEFT, defaults.x, defaults.y)
  3. AddOn.OnMoveStop()

Last edited by Tar000un : 05/22/14 at 11:29 AM.
  Reply With Quote