mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-12 00:20:01 +00:00
actionbar: add option to use actions on keydown
This commit is contained in:
@@ -44,6 +44,16 @@ pfUI:RegisterModule("actionbar", function ()
|
||||
if pfBonusBar then pfBonusBar:Hide() end
|
||||
end)
|
||||
|
||||
if C.bars.keydown == "1" then
|
||||
hooksecurefunc("ActionButtonDown", function(id)
|
||||
ActionButtonUp(id)
|
||||
end, true)
|
||||
|
||||
hooksecurefunc("MultiActionButtonDown", function(bar, id)
|
||||
MultiActionButtonUp(bar, id)
|
||||
end, true)
|
||||
end
|
||||
|
||||
-- reagent counter
|
||||
local reagentslots = { }
|
||||
local reagentscan = CreateFrame("GameTooltip", "pfReagentScanner", UIParent, "GameTooltipTemplate")
|
||||
|
||||
Reference in New Issue
Block a user