WoW-Pro Guides

WoW-Pro Guides

3M Downloads

Anchor point missing from profile

gameldar opened this issue ยท 3 comments

commented

This may only be an issue for people that are upgrading, but I'm getting the following error:

Date: 2010-08-17 19:38:54
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\WoWPro\WoWPro_Frames.lua line 261:
Usage: WoWPro.MainFrame:SetPoint("point" [, region or nil] [, "relativePoint"] [, offsetX, offsetY])
Debug:

WoWPro\WoWPro_Frames.lua:261:
WoWPro\WoWPro_Frames.lua:260

At best guess WoWProDB.profile.anchorpoint is nil.

commented

Set a default of TOPLEFT if it isn't set before doing all the checks. There may be a better place to set this?

commented

This is what happens when I code at 4 in the morning.

commented

Added an "auto" setting which is chosen by default, which finds the quadrant the guide is in and sets that corner as the anchor point.