nameplate-castbar: set backdrop to castbar's frame level

This commit is contained in:
gashole
2024-01-18 10:35:36 +01:00
committed by GitHub
parent 0b696d5a14
commit 48cea13ae9
+1
View File
@@ -54,6 +54,7 @@ module.enable = function(self)
-- castbar border
plate.castbar.backdrop = CreateFrame("Frame", nil, plate.castbar)
plate.castbar.backdrop:SetFrameLevel(plate.castbar:GetFrameLevel())
plate.castbar.backdrop:SetPoint("TOPLEFT", plate.castbar, "TOPLEFT", -3, 3)
plate.castbar.backdrop:SetPoint("BOTTOMRIGHT", plate.castbar, "BOTTOMRIGHT", 3, -3)
plate.castbar.backdrop:SetBackdrop(backdrop)