优化选中状态纹理

This commit is contained in:
尚美 2025-06-30 22:28:29 +08:00
parent 499701c5f0
commit 6cf68a845d
5 changed files with 2 additions and 2 deletions

View File

@ -358,9 +358,9 @@ function SM_Collections:CreateListItems(parent, data, itemType, model, nameText,
-- 添加选中状态纹理
local selectedTexture = button:CreateTexture(nil, "OVERLAY")
selectedTexture:SetAllPoints(button)
selectedTexture:SetTexture("Interface\\AddOns\\SM_CollectionSystem\\Textures\\liebiaoditu_kuang_B")
selectedTexture:SetTexture("Interface\\AddOns\\SM_CollectionSystem\\Textures\\liebiaoditu_kuang_C")
selectedTexture:SetBlendMode("ADD")
selectedTexture:SetVertexColor(1, 1, 0, 0.5) -- 金黄色高亮
selectedTexture:SetVertexColor(0, 1, 1, 1) -- 金黄色高亮
selectedTexture:Hide()
button.selectedTexture = selectedTexture

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 MiB