mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-03 03:50:58 +00:00
style(core/rust): fix indent
[no changelog]
This commit is contained in:
parent
3dccc09201
commit
7a3ab389f8
@ -474,8 +474,8 @@ impl BlurringContext {
|
|||||||
|
|
||||||
// clamping handles left and right edges
|
// clamping handles left and right edges
|
||||||
let ic = (i - BLUR_RADIUS).clamp(0, HOMESCREEN_IMAGE_WIDTH - 1) as usize;
|
let ic = (i - BLUR_RADIUS).clamp(0, HOMESCREEN_IMAGE_WIDTH - 1) as usize;
|
||||||
let ic2 = (i + BLUR_SIZE as i16 - BLUR_RADIUS)
|
let ic2 =
|
||||||
.clamp(0, HOMESCREEN_IMAGE_WIDTH - 1) as usize;
|
(i + BLUR_SIZE as i16 - BLUR_RADIUS).clamp(0, HOMESCREEN_IMAGE_WIDTH - 1) as usize;
|
||||||
update_accs_add(data, ic2, &mut acc_r, &mut acc_g, &mut acc_b);
|
update_accs_add(data, ic2, &mut acc_r, &mut acc_g, &mut acc_b);
|
||||||
update_accs_sub(data, ic, &mut acc_r, &mut acc_g, &mut acc_b);
|
update_accs_sub(data, ic, &mut acc_r, &mut acc_g, &mut acc_b);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user