actionbar: option to hide equipped item indicator

This commit is contained in:
shagu
2017-12-21 14:22:47 +01:00
parent 8da644dba8
commit 16569d28ef
3 changed files with 8 additions and 2 deletions
+6 -2
View File
@@ -574,8 +574,12 @@ pfUI:RegisterModule("actionbar", function ()
icon:SetTexCoord(.08, .92, .08, .92)
local border = _G[actionbutton..i..'Border']
border:SetAllPoints(button)
border:SetTexture(0,1,0,.75)
if C.bars.showequipped == "1" then
border:SetAllPoints(button)
border:SetTexture(0,1,0,.75)
else
border:SetTexture(0,0,0,0)
end
local hotkey = _G[actionbutton..i..'HotKey']
if C.bars.showkeybind == "1" then