mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-17 04:10:45 +01:00
fix grid placement on weekly view click
This commit is contained in:
parent
c135cf45eb
commit
05ca19105b
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user