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:
parent
2d051ffefd
commit
973d4ab2b2
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user