shrink frames by 1 pixel, shrink selection by 2 pixels
This commit is contained in:
parent
636acc7835
commit
82499935cc
8
init.lua
8
init.lua
@ -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 |
Loading…
x
Reference in New Issue
Block a user