Add code comment
parent
7d7998910c
commit
12cc219ad6
3
gui.lua
3
gui.lua
|
@ -153,6 +153,9 @@ function calendar.show_calendar(player_name, settings, wanted_months, wanted_yea
|
|||
if is_holiday then
|
||||
day_num = minetest.colorize(COLOR_HOLIDAY, pday)
|
||||
end
|
||||
-- Fake button to display the day box. Clicking has no effect, this
|
||||
-- fake button is only used to support tooltips as a workaround
|
||||
-- for lacking support of area tooltips
|
||||
formspec = formspec .. "image_button["..x..","..y..";1,1;"..
|
||||
F("calendar_legacy_daybox.png^[colorize:"..box_color..":255]")..
|
||||
";day"..iday..";"..F(day_num).."]"
|
||||
|
|
Loading…
Reference in New Issue