1
0
鏡像自 https://github.com/minetest-mods/unified_inventory.git 已同步 2025-11-06 02:15:32 +01:00

Change background to rounded corners (#200)

This change is supposed to match the rounded inventory slot design.
此提交包含在:
SmallJoker
2022-04-03 22:30:21 +02:00
提交者 GitHub
父節點 19efce45ed
當前提交 477acd2f89
共有 4 個檔案被更改,包括 4 行新增4 行删除

查看文件

@@ -50,7 +50,7 @@ unified_inventory = {
trash_enabled = (minetest.settings:get_bool("unified_inventory_trash") ~= false),
imgscale = 1.25,
list_img_offset = 0.13,
standard_background = "background9[0,0;1,1;ui_formbg_9_sliced.png;true;16]",
standard_background = "bgcolor[#0000]background9[0,0;1,1;ui_formbg_9_sliced.png;true;16]",
version = 4
}

查看文件

@@ -115,9 +115,9 @@ local function formspec_add_categories(player, formspec, ui_peruser)
ui_peruser.form_header_y - (ui_peruser.is_lite_mode and 0 or 0.2)
}
formspec[n] = string.format("background9[%f,%f;%f,%f;%s;false;3]",
ui_peruser.page_x-0.1, categories_scroll_pos[2],
(ui_peruser.btn_spc * ui_peruser.pagecols) + 0.13, 1.4 + (ui_peruser.is_lite_mode and 0 or 0.2),
formspec[n] = string.format("background9[%f,%f;%f,%f;%s;false;16]",
ui_peruser.page_x-0.15, categories_scroll_pos[2],
(ui_peruser.btn_spc * ui_peruser.pagecols) + 0.2, 1.4 + (ui_peruser.is_lite_mode and 0 or 0.2),
"ui_smallbg_9_sliced.png")
n = n + 1

未顯示二進位檔案。

之前

寬度:  |  高度:  |  大小: 240 B

之後

寬度:  |  高度:  |  大小: 510 B

未顯示二進位檔案。

之前

寬度:  |  高度:  |  大小: 139 B

之後

寬度:  |  高度:  |  大小: 551 B