remove legacy path that was still dumping into text clipboard

This commit is contained in:
Skyler Lehmkuhl
2026-03-02 07:54:14 -05:00
parent 75e35b0ac6
commit c1266c0377
2 changed files with 96 additions and 117 deletions
@@ -5816,6 +5816,16 @@ impl eframe::App for EditorApp {
egui::Event::Paste(_) => {
self.handle_menu_action(MenuAction::Paste);
}
// When text/plain is absent from the system clipboard egui-winit
// falls through to a Key event instead of Event::Paste.
egui::Event::Key {
key: egui::Key::V,
pressed: true,
modifiers,
..
} if modifiers.ctrl || modifiers.command => {
self.handle_menu_action(MenuAction::Paste);
}
_ => {}
}
}