mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
fix triple+ overlapping
This commit is contained in:
@@ -322,10 +322,15 @@ class WeekFragment : Fragment(), WeeklyCalendar {
|
||||
width /= overlappingEvents
|
||||
x = width * currentEventOverlapIndex.toFloat()
|
||||
if (overlappingEvents > 1) {
|
||||
if (currentEventOverlapIndex + 1 == overlappingEvents) {
|
||||
if (currentEventOverlapIndex != 0) {
|
||||
x += density
|
||||
} else {
|
||||
}
|
||||
|
||||
if (currentEventOverlapIndex + 1 != overlappingEvents) {
|
||||
width -= density
|
||||
if (currentEventOverlapIndex != 0) {
|
||||
width -= density
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user