core: add option to use blizzard borders

This commit is contained in:
shagu
2021-08-25 18:21:45 +02:00
parent c4d6a33098
commit 5987dd2b33
5 changed files with 46 additions and 3 deletions
+5
View File
@@ -874,6 +874,11 @@ function pfUI.api.SkinCheckbox(frame, size)
end
CreateBackdrop(frame)
SetAllPointsOffset(frame.backdrop, frame, 4)
if frame.backdrop_border then
-- make sure the blizzard border doesn't overlap the checkmark
frame.backdrop_border:SetFrameLevel(frame.backdrop:GetFrameLevel())
end
end
function pfUI.api.SkinDropDown(frame, cr, cg, cb, useSmall)