1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-10 07:20:56 +00:00

fix(core): make TT UI homescreen respect screen size

[no changelog]
This commit is contained in:
tychovrahe 2024-12-31 16:00:18 +01:00 committed by TychoVrahe
parent 2d051ffefd
commit 973d4ab2b2

View File

@ -218,7 +218,10 @@ impl Component for Homescreen {
}
self.label.map(|t| {
let r = Rect::new(Point::new(6, 198), Point::new(234, 233));
let r = Rect::new(
Point::new(6, LABEL_Y - 24),
Point::new(WIDTH - 6, LABEL_Y + 11),
);
shape::Bar::new(r)
.with_bg(Color::black())
.with_alpha(89)