Watch
0
0
Fork
You've already forked esp32-c_its-companion
0

fixup: clear timing area

This commit is contained in:
Jannik Beyerstedt 2026-08-15 16:24:45 +02:00
commit 96b38a4142

View file

@ -269,9 +269,11 @@ where
} else {
// only clear maneuver and timing area otherwise
// TODO: 67 when small display,
let sig_total_height = 67 + 20; // TODO: tweak to actual size
primitives::Rectangle::new(
geometry::Point::new(0, 105 + self.size.offset_top),
geometry::Size::new(self.size.width.into(), 67),
geometry::Size::new(self.size.width.into(), sig_total_height),
)
.into_styled(Self::BK_STYLE)
.draw(&mut self.target)?;