Merge pull request #770 from hecrj/feature/clipboard-write

Write clipboard support and `TextInput` copy and cut behavior
This commit is contained in:
Héctor Ramón 2021-03-10 21:13:07 +01:00 committed by GitHub
commit 7eb5127748
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 225 additions and 127 deletions

View file

@ -154,9 +154,9 @@ where
event: iced_native::Event,
layout: Layout<'_>,
cursor_position: Point,
messages: &mut Vec<Message>,
_renderer: &Renderer<B>,
_clipboard: Option<&dyn Clipboard>,
_clipboard: &mut dyn Clipboard,
messages: &mut Vec<Message>,
) -> event::Status {
let bounds = layout.bounds();