From 8a2edad9bbd703bd50575bae8d6276526c4ef6d1 Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Mon, 25 Jan 2016 17:59:38 +0100 Subject: [PATCH] small animation fix --- npcscan.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npcscan.lua b/npcscan.lua index aeeb9a9..0d43a43 100644 --- a/npcscan.lua +++ b/npcscan.lua @@ -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())