From 4d0c4c78a66db7bf94dade6de9dfbbbfc5925533 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petar=20Kapri=C5=A1?= Date: Fri, 27 Aug 2021 17:38:32 +0200 Subject: [PATCH] Add explanatory comment for monthHeight --- Main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Main.go b/Main.go index ee451dd..f618f8f 100644 --- a/Main.go +++ b/Main.go @@ -17,6 +17,8 @@ const ( largeGap = 3 monthWidth = 7*dayWidth + 6*smallGap monthHeight = (31+6+(7-1))/7 + 2 + /* monthHeight is the height of a 31-day month starting on Sunday (month + name and weekdays included) */ titleHeight = smallGap + 1 )