fix #1950, properly place weekly view grid items
This commit is contained in:
parent
987c306741
commit
6c244ea925
|
@ -576,6 +576,9 @@ class WeekFragment : Fragment(), WeeklyCalendar {
|
||||||
dayColumn.addView(this)
|
dayColumn.addView(this)
|
||||||
y = currentEventWeeklyView!!.range.lower * minuteHeight
|
y = currentEventWeeklyView!!.range.lower * minuteHeight
|
||||||
|
|
||||||
|
// compensate grid offset
|
||||||
|
y -= (currentEventWeeklyView.range.lower / 60) / 2
|
||||||
|
|
||||||
week_event_task_image.beVisibleIf(event.isTask())
|
week_event_task_image.beVisibleIf(event.isTask())
|
||||||
if (event.isTask()) {
|
if (event.isTask()) {
|
||||||
week_event_task_image.applyColorFilter(textColor)
|
week_event_task_image.applyColorFilter(textColor)
|
||||||
|
|
Loading…
Reference in New Issue