优化选中状态纹理
This commit is contained in:
parent
499701c5f0
commit
6cf68a845d
@ -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.
BIN
效果图/d0ec3e90-e40e-467a-837a-78698117e0cb.png
Normal file
BIN
效果图/d0ec3e90-e40e-467a-837a-78698117e0cb.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.4 MiB |
Loading…
x
Reference in New Issue
Block a user