1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-08-01 19:38:33 +00:00

fixup! feat(core): introduce new drawing library

This commit is contained in:
cepetr 2024-05-13 14:43:39 +02:00
parent 6683f8a4b3
commit 75cceb3cfd

View File

@ -187,6 +187,8 @@ where
"No render memory"
);
let lines = slice.height() as usize;
for y in (canvas_clip.y0..canvas_clip.y1).step_by(lines) {
// Calculate the coordinates of the slice we will draw into
let slice_r = Rect::new(