shrink frames by 1 pixel, shrink selection by 2 pixels

This commit is contained in:
tenplus1 2024-11-17 08:04:40 +00:00
parent 636acc7835
commit 82499935cc
3 changed files with 4 additions and 4 deletions

View File

@ -350,10 +350,10 @@ minetest.register_node("itemframes:frame",{
description = S("Item frame"),
drawtype = "nodebox",
node_box = {
type = "fixed", fixed = {-0.5, -0.5, 7/16, 0.5, 0.5, 0.5}
type = "fixed", fixed = {-7/16, -7/16, 7/16, 7/16, 7/16, 0.5}
},
selection_box = {
type = "fixed", fixed = {-0.5, -0.5, 7/16, 0.5, 0.5, 0.5}
type = "fixed", fixed = {-6/16, -6/16, 7/16, 6/16, 6/16, 0.5}
},
tiles = {"itemframes_frame.png"},
inventory_image = "itemframes_frame.png",
@ -464,10 +464,10 @@ minetest.register_node("itemframes:frame_invis",{
description = S("Invisible Item frame"),
drawtype = "nodebox",
node_box = {
type = "fixed", fixed = {-0.5, -0.5, 7/16, 0.5, 0.5, 0.5}
type = "fixed", fixed = {-7/16, -7/16, 7/16, 7/16, 7/16, 0.5}
},
selection_box = {
type = "fixed", fixed = {-0.5, -0.5, 7/16, 0.5, 0.5, 0.5}
type = "fixed", fixed = {-6/16, -6/16, 7/16, 6/16, 6/16, 0.5}
},
tiles = {"itemframes_clear.png"},
inventory_image = "itemframes_frame_invis.png",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 344 B

After

Width:  |  Height:  |  Size: 335 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 167 B

After

Width:  |  Height:  |  Size: 170 B