Tablet: Image update and fixed font

This commit is contained in:
Vitaliy olkhin 2025-02-05 12:06:02 +05:00
parent 227377f411
commit 6905d2d6f0
2 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ function surface_effect.display.main(player, power)
winsize, winsize,
bgimage, bgimage,
"container[0,0]", "container[0,0]",
"style_type[label;textcolor=green;bgcolor=red]", "style_type[label;textcolor=green;bgcolor=red;font_size=20]",
"label[1.0,0.5;"..S("Software version: @1", minetest.colorize("#FF0000", version)).."]", "label[1.0,0.5;"..S("Software version: @1", minetest.colorize("#FF0000", version)).."]",
"image[".. width - 2 ..",0.3;1.0,0.5;surface_effect_tablet_charge_level".. get_charge_indicator(power) .. ".png]", "image[".. width - 2 ..",0.3;1.0,0.5;surface_effect_tablet_charge_level".. get_charge_indicator(power) .. ".png]",
"container_end[]", "container_end[]",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB