From 511a4f3b934e0fb783e51affc9327fd0e5c2e30d Mon Sep 17 00:00:00 2001 From: tychovrahe Date: Fri, 28 Feb 2025 12:40:36 +0100 Subject: [PATCH] fix(core/prodtest): fix touch draw test [no changelog] --- core/embed/rust/src/ui/layout_bolt/prodtest/mod.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/embed/rust/src/ui/layout_bolt/prodtest/mod.rs b/core/embed/rust/src/ui/layout_bolt/prodtest/mod.rs index 5e9ce304ce..4870c7a24e 100644 --- a/core/embed/rust/src/ui/layout_bolt/prodtest/mod.rs +++ b/core/embed/rust/src/ui/layout_bolt/prodtest/mod.rs @@ -147,19 +147,16 @@ impl ProdtestUI for UIBolt { match ev { TouchStart(p) => { shape::Bar::new(Rect::from_center_and_size(*p, Offset::new(3, 3))) - .with_fg(Color::rgb(0, 255, 0)) .with_bg(Color::rgb(0, 255, 0)) .render(target); } TouchMove(p) => { shape::Bar::new(Rect::from_center_and_size(*p, Offset::new(1, 1))) - .with_fg(Color::white()) .with_bg(Color::white()) .render(target); } TouchEnd(p) => { shape::Bar::new(Rect::from_center_and_size(*p, Offset::new(3, 3))) - .with_fg(Color::rgb(255, 0, 0)) .with_bg(Color::rgb(255, 0, 0)) .render(target); }