mirror of
https://seed.radicle.dev/rad:z4D5UCArafTzTQpDZNQRuqswh3ury.git
synced 2026-10-18 19:10:45 +08:00
Fix pasted images not rendering
Pasting a single image went through save_embed_by_clipboard, which stored the clipboard's raw RGBA pixels instead of an encoded image. The result could not be decoded, so the embed showed as a broken image. Always store the pasted file's own bytes instead. Nothing else uses save_embed_by_clipboard, so it's removed. Co-Authored-By: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
committed by
Rūdolfs Ošiņš
co-authored by
Rūdolfs Ošiņš
parent
118abffdea
commit
8175823ab8
Generated
-1
@@ -4374,7 +4374,6 @@ dependencies = [
|
||||
"sqlite",
|
||||
"ssh-key",
|
||||
"tauri",
|
||||
"tauri-plugin-clipboard-manager",
|
||||
"tauri-plugin-fs",
|
||||
"tempfile",
|
||||
"thiserror 2.0.19",
|
||||
|
||||
Reference in New Issue
Block a user