Skip to content

Commit

Permalink
fixup! feat(core/rust): hold to confirm animation for Model R - fixed…
Browse files Browse the repository at this point in the history
… off by one error in text overlay
  • Loading branch information
TychoVrahe committed Jul 14, 2022
1 parent 3fa8513 commit a863432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/embed/rust/src/ui/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ impl<'a> TextOverlay<'a> {
if x_t >= (tot_adv + b_x)
&& x_t < (tot_adv + b_x + w)
&& y_t >= (h - b_y)
&& y_t <= (b_y)
&& y_t < (b_y)
{
//position is for this char
let overlay_data = g.get_pixel_data(x_t - tot_adv - b_x, y_t - (h - b_y));
Expand Down

0 comments on commit a863432

Please sign in to comment.