add underline to tabs in inventory

master
MisterE 2022-08-13 14:05:51 -04:00
parent aafae6b744
commit b7a24aec2a
3 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,8 @@ function sfinv.get_nav_fs(player, context, nav, current_idx)
-- Only show tabs if there is more than one page
if #nav > 1 then
return "tabheader[0,0;sfinv_nav_tabs;" .. table.concat(nav, ",") ..
";" .. current_idx .. ";true;false]"
";" .. current_idx .. ";true;false]"..
"image[-.5,-.3;11,.1;sfinv_underline.png]"
else
return ""
end

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 547 B