diff --git a/src/ui/calendar.rs b/src/ui/calendar.rs index 0f23efc..d37b668 100644 --- a/src/ui/calendar.rs +++ b/src/ui/calendar.rs @@ -131,20 +131,17 @@ fn render_events_in_row( // update event bars for cell in row_grid { ev_y = y; - println!("col={}", cell.pos_x); for ev_bar in ev_bars.iter_mut() { if ev_bar.ev.begin == current_day || (ev_bar.ev.begin < first_day && current_day == first_day) { // start of event ev_bar.bounds.x = cell.x; ev_bar.bounds.y = ev_y; - println!("start[{}] y={}", ev_bar.ev.text, ev_y); } if ev_bar.ev.end == current_day { // end of event -> set width ev_bar.bounds.width = cell.x + cell.width - ev_bar.bounds.x; } if ev_bar.ev.is_in_day(current_day) { - println!("ev_y {}->{}", ev_y, ev_y+ ev_height); ev_y += ev_height; } }