Quantcast

Moved creation of arlSpellTooltip from addon:InitializeFrame() into the main file body, and changed its parent from MainPanel to UIParent.

Author torhal <torhal@dummy.example.com>
Author date 2009-11-23 23:53:19
Author local date 2009-11-23 23:53:19 +0000
Committer torhal <torhal@dummy.example.com>
Committer date 2009-11-23 23:53:19
Committer local date 2009-11-23 23:53:19 +0000
Commit 021d991bd06ea518489675efbbb35d0fcbe184fa
Tree affbdd3577f4a662a087473611b2517c38aedf69
Parent 9a3d6654e4347aa859a0a6dab92676d7a11b30ee
Moved creation of arlSpellTooltip from addon:InitializeFrame() into the main file body, and changed its parent from MainPanel to UIParent.
In SetSpellTooltip(): Copy GameTooltip's main settings over to arlSpellTooltip so AddOns which modify GameTooltip will work on it.
Moved the setting of arlSpellTooltip's scale from addon:DisplayFrame() to SetSpellTooltip(), where the config option will actually work.
Moved the setting of arlTooltip's scale to after its anchor points have been cleared then set so the config option will actually work.
Moved TipTac skinning of arlSpellTooltip from addon:InitializeFrame() to SetSpellTooltip().
In giveDisplay(): Change L["UI Scale"] to _G.UI_SCALE, removed check for addon.Frame's existence, and removed the attempt to set the scale of arlTooltip and arlSpellTooltip.
Removed "UI Scale" from the localization table.
Removed some comments for which their code was obvious in function.
Removed global references to arlTooltip and arlSpellTooltip.
Added file-local arlTooltip, as there is no reason for it to be global.