Add explanatory comment for monthHeight
This commit is contained in:
parent
a7dbe96dc8
commit
4d0c4c78a6
1 changed files with 2 additions and 0 deletions
2
Main.go
2
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
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue