unitframes: option for configurable indicator size

This commit is contained in:
Grookshank
2017-10-28 13:28:48 +02:00
committed by shagu
parent 1443c120cc
commit 3aec8e2f58
3 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -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