mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-15 20:19:23 +00:00
fix(core): restore ellipsis functionality on TR
This commit is contained in:
parent
d4423b3569
commit
31958b7fb8
@ -177,7 +177,7 @@ impl ChangingTextLine {
|
|||||||
let x_offset = if self.text.len() % 2 == 0 { 0 } else { 2 };
|
let x_offset = if self.text.len() % 2 == 0 { 0 } else { 2 };
|
||||||
|
|
||||||
let baseline = Point::new(self.pad.area.x0 + x_offset, self.y_baseline());
|
let baseline = Point::new(self.pad.area.x0 + x_offset, self.y_baseline());
|
||||||
shape::Text::new(baseline, self.text.as_ref())
|
shape::Text::new(baseline, &text_to_display)
|
||||||
.with_font(self.font)
|
.with_font(self.font)
|
||||||
.render(target);
|
.render(target);
|
||||||
}
|
}
|
||||||
|
@ -9826,12 +9826,12 @@
|
|||||||
"T3B1_en_test_lock.py::test_hold_to_lock": "2990b154520bbd4df1796661d611fbd80c67ed88bff50d7ed131881c9dfefaa7",
|
"T3B1_en_test_lock.py::test_hold_to_lock": "2990b154520bbd4df1796661d611fbd80c67ed88bff50d7ed131881c9dfefaa7",
|
||||||
"T3B1_en_test_passphrase_tr.py::test_cancel": "b06394d27cddbfd3bdefe5452ec304c5f78f05fee68ea72383433c629a52e2e4",
|
"T3B1_en_test_passphrase_tr.py::test_cancel": "b06394d27cddbfd3bdefe5452ec304c5f78f05fee68ea72383433c629a52e2e4",
|
||||||
"T3B1_en_test_passphrase_tr.py::test_passphrase_delete": "01509833ded7e8a98406da99f606bdf76f4ff03ecd1a6afd5d1c002200b7152b",
|
"T3B1_en_test_passphrase_tr.py::test_passphrase_delete": "01509833ded7e8a98406da99f606bdf76f4ff03ecd1a6afd5d1c002200b7152b",
|
||||||
"T3B1_en_test_passphrase_tr.py::test_passphrase_input[Y@14lw%p)JN@f54MYvys@zj'g-mnkoxeaMzLgfCxUdDSZW-381132c0": "2550f87c9d2cfb73a13b8efb13b5f5ff792ae53cf71c25ff933fe1d4785eb9d3",
|
"T3B1_en_test_passphrase_tr.py::test_passphrase_input[Y@14lw%p)JN@f54MYvys@zj'g-mnkoxeaMzLgfCxUdDSZW-381132c0": "ea2477880a534aa9ef2772878d864047b8fd8d4b0204f716766654bb95461a04",
|
||||||
"T3B1_en_test_passphrase_tr.py::test_passphrase_input[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-166c898a": "b25f82f14e63ff9b49442059024ff385eec78eaaaf25900e862faaf3e368ce27",
|
"T3B1_en_test_passphrase_tr.py::test_passphrase_input[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-166c898a": "383132e8fc1ff44fde60ad1c0caf23f517e52e5ef694c8db56e5eada78b73b68",
|
||||||
"T3B1_en_test_passphrase_tr.py::test_passphrase_input[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-334262e9": "f6cd8420969025f8b937b4ed6745d2a772572f0e606648dc212ec9eec978f099",
|
"T3B1_en_test_passphrase_tr.py::test_passphrase_input[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-334262e9": "173ce0896f6ad04dbfc589232176fbada31a6f03a2ed1334c3b56816dfa91183",
|
||||||
"T3B1_en_test_passphrase_tr.py::test_passphrase_input[abc 123-mvqzZUb9NaUc62Buk9WCP4L7hunsXFyamT]": "4ce491e58aea25286526c9145637d38ab27c1ebeb00b44932889ef8d677b89d2",
|
"T3B1_en_test_passphrase_tr.py::test_passphrase_input[abc 123-mvqzZUb9NaUc62Buk9WCP4L7hunsXFyamT]": "4ce491e58aea25286526c9145637d38ab27c1ebeb00b44932889ef8d677b89d2",
|
||||||
"T3B1_en_test_passphrase_tr.py::test_passphrase_input[abc123ABC_<>-mtHHfh6uHtJiACwp7kzJZ97yueT6sEdQiG]": "ed9f301fa3e01b9ede302b9c3c19593aa1e584b567c210df46dd0f0bf642aca3",
|
"T3B1_en_test_passphrase_tr.py::test_passphrase_input[abc123ABC_<>-mtHHfh6uHtJiACwp7kzJZ97yueT6sEdQiG]": "ed9f301fa3e01b9ede302b9c3c19593aa1e584b567c210df46dd0f0bf642aca3",
|
||||||
"T3B1_en_test_passphrase_tr.py::test_passphrase_input_over_50_chars": "1f3a5cfa4c51b5a550c25eff6c6f322a46af9b9823eeaf48e2c69fb88b4e21c2",
|
"T3B1_en_test_passphrase_tr.py::test_passphrase_input_over_50_chars": "2409807630523896b4671ee3244a0628d4c5e149cdd90916c85463c471dca72f",
|
||||||
"T3B1_en_test_passphrase_tr.py::test_passphrase_loop_all_characters": "e06ec53edbd9c3d8927e141e8a8e2af521641d0064a20b7953ad15f1a1d48f52",
|
"T3B1_en_test_passphrase_tr.py::test_passphrase_loop_all_characters": "e06ec53edbd9c3d8927e141e8a8e2af521641d0064a20b7953ad15f1a1d48f52",
|
||||||
"T3B1_en_test_pin.py::test_pin_change": "64f71d7fc3286075a97abca190b7b8c04af78b31d535138ad6fad7766690412d",
|
"T3B1_en_test_pin.py::test_pin_change": "64f71d7fc3286075a97abca190b7b8c04af78b31d535138ad6fad7766690412d",
|
||||||
"T3B1_en_test_pin.py::test_pin_delete_hold": "470013b2547b4a151056a6ae1730fd5a1437a4da40b39bcc8b4fa9b8ca7cb32b",
|
"T3B1_en_test_pin.py::test_pin_delete_hold": "470013b2547b4a151056a6ae1730fd5a1437a4da40b39bcc8b4fa9b8ca7cb32b",
|
||||||
|
Loading…
Reference in New Issue
Block a user