This commit is contained in:
2026-05-21 09:54:09 +02:00
parent 041e90a8f2
commit 4f18a72785
6 changed files with 125 additions and 59 deletions

View File

@ -114,7 +114,8 @@ fn handle_clipboard_event(
img_data.height,
pixel_count / 1_000_000
);
*last_image_hash = Some(pixel_count as u64);
let sentinel_hash = hash_bytes(&img_data.bytes[..img_data.bytes.len().min(256)]);
*last_image_hash = Some(sentinel_hash);
*last_text = None;
return;
}