Add code comment

master
Wuzzy 2020-08-28 15:49:34 +02:00
parent 7d7998910c
commit 12cc219ad6
1 changed files with 3 additions and 0 deletions

View File

@ -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).."]"