Skip to content

Commit 0a913c0

Browse files
committed
fix incorrect border thickness for LSM border
1 parent 0f25058 commit 0a913c0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ClassicCastbars/core/Frames.lua

+4-4
Original file line numberDiff line numberDiff line change
@@ -256,14 +256,14 @@ function ClassicCastbars:SetLSMBorders(castbar, db)
256256
end
257257

258258
-- Apply backdrop if it isn't already active
259-
if castbar.BorderFrameLSM.currentTexture ~= db.castBorder or castbar:GetHeight() ~= castbar.BorderFrameLSM.currentHeight then
259+
if castbar.BorderFrameLSM.currentTexture ~= db.castBorder then
260260
castbar.BorderFrameLSM:SetBackdrop({
261261
edgeFile = db.castBorder,
262-
tile = false, tileSize = 0,
263-
edgeSize = castbar:GetHeight(),
262+
tile = true, tileSize = 16,
263+
edgeSize = 16,
264+
insets = { left = 4, right = 4, top = 4, bottom = 4 }
264265
})
265266
castbar.BorderFrameLSM.currentTexture = db.castBorder
266-
castbar.BorderFrameLSM.currentHeight = castbar:GetHeight()
267267
end
268268

269269
castbar.Border:SetAlpha(0) -- hide default border

0 commit comments

Comments
 (0)