mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-03-22 11:05:43 +00:00
chore(core/tests): add green to UI diff
[no changelog]
This commit is contained in:
parent
b07ed98ba4
commit
9b29cd2027
@ -213,7 +213,7 @@ function createRowDiff(row) {
|
||||
|
||||
// Process differences
|
||||
const difData = difCtx.createImageData(width, height);
|
||||
options = {threshold: 0.0, includeAA: true};
|
||||
options = {threshold: 0.0, includeAA: true, diffColorAlt: [0, 255, 0]};
|
||||
pixelmatch(recData.data, curData.data, difData.data, width, height, options);
|
||||
difCtx.putImageData(difData, 0, 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user