Files
photocraft/crates/engine
hnoerenberg 6f5293e3c1 test(history-brush): make the re-set source recovery checks prove the paint
Both recovery checks compared the canvas after the History Brush click against
a pixel the canvas already held: a paint command that returned Ok without
touching pixels passed them, and the deleted-snapshot check looked only at the
red channel. Turn the canvas blue after capturing the snapshot, assert the
canvas changed, and compare all four channels with the captured pixel, so the
assertions fail when the brush paints nothing.
2026-11-28 13:58:05 +01:00
..