Skip to content

Commit 9a28364

Browse files
committed
fix: inset icon texture to show quality color border around edges
1 parent a240333 commit 9a28364

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Interface.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,8 @@ function UI:CreateTableFrame(config)
266266
if not iconFrame then
267267
iconFrame = CreateFrame("Frame", nil, columnFrame)
268268
iconFrame.texture = iconFrame:CreateTexture(nil, "ARTWORK")
269-
iconFrame.texture:SetAllPoints()
269+
iconFrame.texture:SetPoint("TOPLEFT", iconFrame, "TOPLEFT", 1, -1)
270+
iconFrame.texture:SetPoint("BOTTOMRIGHT", iconFrame, "BOTTOMRIGHT", -1, 1)
270271
iconFrame.border = iconFrame:CreateTexture(nil, "BACKGROUND")
271272
iconFrame.border:SetAllPoints()
272273
iconFrame.overlay = iconFrame:CreateTexture(nil, "OVERLAY")

0 commit comments

Comments
 (0)