use the trash slot icon's alpha instead of [combine

also it's supposed to be 128px, not 256px.  fixed that.
This commit is contained in:
Vanessa Dannenberg 2021-03-10 21:20:31 -05:00
parent 608cdfb887
commit c044f5e3b0
2 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ end
function ui.make_trash_slot(xpos, ypos) function ui.make_trash_slot(xpos, ypos)
return return
ui.single_slot(xpos, ypos).. ui.single_slot(xpos, ypos)..
"image["..xpos..","..ypos..";1.25,1.25;ui_trash_slot_icon.png^[opacity:95]".. "image["..xpos..","..ypos..";1.25,1.25;ui_trash_slot_icon.png]"..
"list[detached:trash;main;"..(xpos + ui.list_img_offset)..","..(ypos + ui.list_img_offset)..";1,1;]" "list[detached:trash;main;"..(xpos + ui.list_img_offset)..","..(ypos + ui.list_img_offset)..";1,1;]"
end end

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 697 B