mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-03 20:20:01 +00:00
unitframes: option for configurable indicator size
This commit is contained in:
@@ -96,6 +96,7 @@ function pfUI:LoadConfig()
|
||||
pfUI:UpdateConfig("unitframes", nil, "show_procs", "0")
|
||||
pfUI:UpdateConfig("unitframes", nil, "all_procs", "0")
|
||||
pfUI:UpdateConfig("unitframes", nil, "debuffs_class", "0")
|
||||
pfUI:UpdateConfig("unitframes", nil, "indicator_size", "10")
|
||||
|
||||
pfUI:UpdateConfig("unitframes", nil, "clickcast", "")
|
||||
pfUI:UpdateConfig("unitframes", nil, "clickcast_shift", "")
|
||||
|
||||
+1
-1
@@ -1135,7 +1135,7 @@ function pfUI.uf:ClickAction(button)
|
||||
end
|
||||
|
||||
function pfUI.uf:AddIcon(frame, pos, icon)
|
||||
local iconsize = 10
|
||||
local iconsize = C.unitframes.indicator_size
|
||||
if not frame.hp then return end
|
||||
local frame = frame.hp.bar
|
||||
if pos > floor(frame:GetWidth() / iconsize) then return end
|
||||
|
||||
Reference in New Issue
Block a user