mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-11-23 03:13:44 +01:00
Tweak
This commit is contained in:
parent
c6f1ae266a
commit
bbe5b69001
5
init.lua
5
init.lua
@ -114,11 +114,12 @@ local fs_elements = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
local styles = sprintf([[
|
local styles = sprintf([[
|
||||||
style[filter;border=false]
|
|
||||||
style_type[label,field;font_size=+0]
|
style_type[label,field;font_size=+0]
|
||||||
style_type[image_button;border=false;sound=craftguide_click]
|
style_type[image_button;border=false;sound=craftguide_click]
|
||||||
style_type[button;border=false;font=bold;font_size=+2;content_offset=0]
|
style_type[button;border=false;font=bold;font_size=+2;content_offset=0]
|
||||||
style_type[item_image_button;border=false;bgimg_hovered=%s;bgimg_pressed=%s;sound=craftguide_click]
|
style_type[item_image_button;border=false;bgimg_hovered=%s;bgimg_pressed=%s;sound=craftguide_click]
|
||||||
|
|
||||||
|
style[filter;border=false]
|
||||||
style[search;fgimg=%s;fgimg_hovered=%s]
|
style[search;fgimg=%s;fgimg_hovered=%s]
|
||||||
style[clear;fgimg=%s;fgimg_hovered=%s]
|
style[clear;fgimg=%s;fgimg_hovered=%s]
|
||||||
style[prev_page;fgimg=%s;fgimg_hovered=%s;fgimg_pressed=%s]
|
style[prev_page;fgimg=%s;fgimg_hovered=%s;fgimg_pressed=%s]
|
||||||
@ -999,7 +1000,7 @@ local function get_output_fs(fs, rcp, shapeless, right, btn_size, _btn_size, spa
|
|||||||
fs(get_tooltip(_name, infos))
|
fs(get_tooltip(_name, infos))
|
||||||
end
|
end
|
||||||
|
|
||||||
if infos.burntime then
|
if infos.burntime and sfinv_only then
|
||||||
fs(fmt("image",
|
fs(fmt("image",
|
||||||
X + 1, YOFFSET + (sfinv_only and 2 or 0.1) + spacing,
|
X + 1, YOFFSET + (sfinv_only and 2 or 0.1) + spacing,
|
||||||
0.6, 0.4, PNG.arrow),
|
0.6, 0.4, PNG.arrow),
|
||||||
|
Loading…
Reference in New Issue
Block a user