mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-11-23 03:13:44 +01:00
Fine-tuning
This commit is contained in:
parent
bfdb67783b
commit
3a0a2c032d
2
init.lua
2
init.lua
@ -1314,7 +1314,7 @@ local function make_fs(data)
|
|||||||
local X = i % ROWS
|
local X = i % ROWS
|
||||||
local Y = (i % IPP - X) / ROWS + 1
|
local Y = (i % IPP - X) / ROWS + 1
|
||||||
X = X - (X * (sfinv_only and 0.12 or 0.14)) - 0.05
|
X = X - (X * (sfinv_only and 0.12 or 0.14)) - 0.05
|
||||||
Y = Y - (Y * 0.1) - 0.1
|
Y = Y - (Y * 0.08) - 0.15
|
||||||
|
|
||||||
if data.query_item == item then
|
if data.query_item == item then
|
||||||
fs[#fs + 1] = fmt(FMT.image, X, Y, 1, 1, PNG.selected)
|
fs[#fs + 1] = fmt(FMT.image, X, Y, 1, 1, PNG.selected)
|
||||||
|
Loading…
Reference in New Issue
Block a user