forked from minetest-mods/unified_inventory
		
	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:
		
							
								
								
									
										2
									
								
								api.lua
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								api.lua
									
									
									
									
									
								
							@@ -316,7 +316,7 @@ end
 | 
			
		||||
function ui.make_trash_slot(xpos, ypos)
 | 
			
		||||
	return
 | 
			
		||||
		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;]"
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 697 B  | 
		Reference in New Issue
	
	Block a user