mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-24 08:36:04 +00:00
actionbar: option to show animation on hidden bars
This commit is contained in:
@@ -714,6 +714,7 @@ function pfUI:LoadConfig()
|
||||
pfUI:UpdateConfig("bars", nil, "keydown", "0")
|
||||
pfUI:UpdateConfig("bars", nil, "altself", "0")
|
||||
pfUI:UpdateConfig("bars", nil, "animation", "zoomfade")
|
||||
pfUI:UpdateConfig("bars", nil, "animalways", "0")
|
||||
pfUI:UpdateConfig("bars", nil, "hunterbar", "0")
|
||||
pfUI:UpdateConfig("bars", nil, "pagemaster", "0")
|
||||
pfUI:UpdateConfig("bars", nil, "showcastable", "1")
|
||||
|
||||
@@ -424,8 +424,10 @@ pfUI:RegisterModule("actionbar", 20400, function ()
|
||||
|
||||
if ( pfUI_config.bars.keydown == "1" and keystate == "down" ) or (pfUI_config.bars.keydown == "0" and keystate == "up" ) or self.bar == 11 or mouse then
|
||||
-- trigger effect
|
||||
self.animation.active = 0
|
||||
self.animation:Show()
|
||||
if self:GetAlpha() > .1 or C.bars.animalways == "1" then
|
||||
self.animation.active = 0
|
||||
self.animation:Show()
|
||||
end
|
||||
-- clear highlight
|
||||
if not MouseIsOver(self) then
|
||||
self.highlight:Hide()
|
||||
|
||||
@@ -1653,6 +1653,7 @@ pfUI:RegisterModule("gui", 20400, function ()
|
||||
CreateConfig(U["bars"], T["Trigger Actions On Key Down"], C.bars, "keydown", "checkbox")
|
||||
CreateConfig(U["bars"], T["Alt Self Cast For All Hotkeys"], C.bars, "altself", "checkbox")
|
||||
CreateConfig(U["bars"], T["Button Animation"], C.bars, "animation", "dropdown", pfUI.gui.dropdowns.actionbuttonanimations)
|
||||
CreateConfig(U["bars"], T["Show Animation On Hidden Bars"], C.bars, "animalways", "checkbox")
|
||||
CreateConfig(U["bars"], T["Highlight Equipped Items"], C.bars, "showequipped", "checkbox")
|
||||
CreateConfig(U["bars"], T["Equipped Item Color"], C.bars, "eqcolor", "color")
|
||||
CreateConfig(U["bars"], T["Highlight Out Of Range Spells"], C.bars, "glowrange", "checkbox")
|
||||
|
||||
Reference in New Issue
Block a user