fix grid placement on weekly view click

This commit is contained in:
tibbi 2023-01-08 20:31:28 +01:00
parent c135cf45eb
commit 05ca19105b
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ class WeekFragment : Fragment(), WeeklyCalendar {
background = ColorDrawable(primaryColor)
layoutParams.width = view.width
layoutParams.height = rowHeight.toInt()
y = hour * rowHeight
y = hour * rowHeight - hour / 2
applyColorFilter(primaryColor.getContrastColor())
setOnClickListener {