diff options
-rw-r--r-- | calendar/gui/e-day-view-main-item.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/calendar/gui/e-day-view-main-item.c b/calendar/gui/e-day-view-main-item.c index 8cfa4e4de3..cdf167edd2 100644 --- a/calendar/gui/e-day-view-main-item.c +++ b/calendar/gui/e-day-view-main-item.c @@ -577,9 +577,7 @@ day_view_main_item_draw_day_event (EDayViewMainItem *main_item, cairo_close_path (cr); cairo_restore (cr); } - } - - if (bar_y2 > scroll_flag) + } else if (bar_y2 > scroll_flag) event->end_minute += time_divisions; else if (bar_y2 < scroll_flag) event->end_minute -= time_divisions; |