mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-30 11:10:00 +00:00
actionbar: add option for pet indicators
This commit is contained in:
@@ -572,7 +572,14 @@ pfUI:RegisterModule("actionbar", function ()
|
||||
texture :SetAlpha(0)
|
||||
|
||||
local castable = _G["PetActionButton"..i..'AutoCastable']
|
||||
castable:SetAlpha(0)
|
||||
if C.bars.showcastable == "1" then
|
||||
castable:SetWidth(C.bars.icon_size*1.5)
|
||||
castable:SetHeight(C.bars.icon_size*1.5)
|
||||
castable:SetParent(button)
|
||||
castable:SetTexCoord(.08, .9, .08, .9)
|
||||
else
|
||||
castable:SetAlpha(0)
|
||||
end
|
||||
|
||||
local border = _G["PetActionButton"..i..'Border']
|
||||
border:SetAlpha(0)
|
||||
|
||||
@@ -1010,6 +1010,7 @@ pfUI:RegisterModule("gui", function ()
|
||||
CreateConfig(nil, this, T["Enable Range Based Auto Paging (Hunter)"], C.bars, "hunterbar", "checkbox")
|
||||
CreateConfig(nil, this, T["Enable Action On Key Down"], C.bars, "keydown", "checkbox")
|
||||
CreateConfig(nil, this, T["Switch Bar On Meta Key Press"], C.bars, "pagemaster", "checkbox")
|
||||
CreateConfig(nil, this, T["Show Indicator For Castable Pet Actions"], C.bars, "showcastable", "checkbox")
|
||||
this.setup = true
|
||||
end
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user