Hey, this is just a test thread.

Many of us use addons. Quite a smaller number dig into the coding of those addons to change them - to make them look better, to make them act a certain way, etc.

If you're one of those addon modifying crazy buggers, post your favorite little coding tweak(s) here. :-)

Here's 2 of my favorites.

1) HatTrick by Tekkub - put the checkboxes "inside" the helm/cloak slot, instead of next to it
Change line 14 to
Code:
hcheck:SetPoint("TOPRIGHT", CharacterHeadSlot, "TOPRIGHT", 0, 0)
from
Code:
hcheck:SetPoint("TOPLEFT", CharacterHeadSlot, "BOTTOMRIGHT", 5, 5)
Change line 30 to
Code:
ccheck:SetPoint("TOPRIGHT", CharacterBackSlot, "TOPRIGHT", 0, 0)
from
Code:
ccheck:SetPoint("TOPLEFT", CharacterBackSlot, "BOTTOMRIGHT", 5, 5)

2) GnomishVendorShrinker by Tekkub - change it to work with the excellent new interface art from Quokka's AI-Art

Change line 181 from
Code:
backdrop:SetTexture("Interface\\Tooltips\\UI-Tooltip-Background")
to
Code:
backdrop:SetTexture("Interface\\Buttons\\WHITE8X8")
Change lines 232-239 from
Code:
local default_grad = {0,1,0,0.75, 0,1,0,0} -- green
local grads = setmetatable({
	red = {1,0,0,0.75, 1,0,0,0},
	[1] = {1,1,1,0.75, 1,1,1,0}, -- white
	[2] = default_grad, -- green
	[3] = {0.5,0.5,1,1, 0,0,1,0}, -- blue
	[4] = {1,0,1,0.75, 1,0,1,0}, -- purple
	[7] = {1,.75,.5,0.75, 1,.75,.5,0}, -- heirloom
to
Code:
local default_grad = {0,1,0,0.25, 0,1,0,0} -- green
local grads = setmetatable({
	red = {1,0,0,.25, 1,0,0,0},
	[1] = {1,1,1,0.25, 1,1,1,0}, -- white
	[2] = default_grad, -- green
	[3] = {0.5,0.5,1,.25, 0,0,1,0}, -- blue
	[4] = {1,0,1,.25, 1,0,1,0}, -- purple
	[7] = {1,.75,.5,.25, 1,.75,.5,0}, -- heirloom