From 6bc32790a1f85f5e1043298ea37d7764ebb71dee Mon Sep 17 00:00:00 2001 From: Fabrizio Iannetti Date: Sun, 9 Jul 2023 20:32:09 +0200 Subject: [PATCH] remove debug prints Signed-off-by: Fabrizio Iannetti --- src/ui/calendar.rs | 3 --- 1 file changed, 3 deletions(-) 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; } }