small animation fix

This commit is contained in:
Manuel Simon Hirsig
2016-01-25 17:59:38 +01:00
parent 6eb9f005df
commit 8a2edad9bb
+1 -1
View File
@@ -200,7 +200,7 @@ function npcscan.on_event()
end
do
local glow = button:CreateTexture(nil, 'OVERLAY')
local glow = button.model:CreateTexture(nil, 'OVERLAY')
button.glow = glow
glow:SetPoint('CENTER', button, 'CENTER')
glow:SetWidth(400 / 300 * button:GetWidth())