mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-10 12:20:12 -06:00
* Ctrl+V pastes a clipboard picture again with egui 0.37 Since the egui 0.37 migration, egui-winit keeps both the Mod+V press and its release, so the canvas never sees the V release it pasted a clipboard picture on. Outside Wayland, egui-winit instead sends Event::PasteImage when the clipboard holds a picture and no text, which the canvas ignored. Ctrl+V pasted nothing while the ribbon and context-menu Paste still worked. Answer PasteImage with edit.paste, which reads the picture through the host like the ribbon's Paste. The web build sends no PasteImage, so nothing pastes twice there. Part of #4782 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Mark the clipboard picture as pasted on PasteImage so a later V release cannot paste twice --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Brandon Thomas <echelon@gmail.com>