Skip to content

Commit

Permalink
Adjust ActionButton Shadow
Browse files Browse the repository at this point in the history
  • Loading branch information
Grimsbain committed Aug 11, 2018
1 parent 5b6fcc0 commit 55c5718
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Interface/AddOns/nMainbar/modules/ActionButtonSkin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ local function SkinButton(button, icon)

if floatingBG then
floatingBG:ClearAllPoints()
floatingBG:SetPoint("TOPRIGHT", button, 4, 4)
floatingBG:SetPoint("BOTTOMLEFT", button, -4, -4)
floatingBG:SetPoint("TOPRIGHT", button, 5, 5)
floatingBG:SetPoint("BOTTOMLEFT", button, -5, -5)
floatingBG:SetTexture(MEDIA_PATH.."textureShadow")
floatingBG:SetVertexColor(0.0, 0.0, 0.0, 1.0)
else
button.Shadow = button:CreateTexture(nil, "BACKGROUND")
button.Shadow:SetParent(button)
button.Shadow:SetPoint("TOPRIGHT", normalTexture, 4, 4)
button.Shadow:SetPoint("BOTTOMLEFT", normalTexture, -4, -4)
button.Shadow:SetPoint("TOPRIGHT", normalTexture, 5, 5)
button.Shadow:SetPoint("BOTTOMLEFT", normalTexture, -5, -5)
button.Shadow:SetTexture(MEDIA_PATH.."textureShadow")
button.Shadow:SetVertexColor(0.0, 0.0, 0.0, 1.0)
end
Expand Down

0 comments on commit 55c5718

Please sign in to comment.