fixup: clear timing area
This commit is contained in:
parent
a2544cf091
commit
96b38a4142
1 changed files with 3 additions and 1 deletions
|
|
@ -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)?;
|
||||
|
|
|
|||
Loading…
Reference in a new issue