diff options
author | 2021-07-22 20:37:12 +0700 | |
---|---|---|
committer | 2021-07-22 20:37:12 +0700 | |
commit | 72d5d9b4bd03f6596369360018ee101a4a3053ae (patch) | |
tree | 7c618396f7cbcaf90a274179cf2ef1c381b0ad40 /examples | |
parent | 29cc840cfa129a5ee3ecd1befe6e0fe85cb0e2d7 (diff) | |
download | iced-72d5d9b4bd03f6596369360018ee101a4a3053ae.tar.gz iced-72d5d9b4bd03f6596369360018ee101a4a3053ae.tar.bz2 iced-72d5d9b4bd03f6596369360018ee101a4a3053ae.zip |
Add newline to `todos` example
... just for readability
Diffstat (limited to 'examples')
-rw-r--r-- | examples/todos/src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/todos/src/main.rs b/examples/todos/src/main.rs index ee0022d5..97415475 100644 --- a/examples/todos/src/main.rs +++ b/examples/todos/src/main.rs @@ -267,6 +267,7 @@ impl Task { TaskMessage::Edit => { let mut text_input = text_input::State::focused(); text_input.select_all(); + self.state = TaskState::Editing { text_input, delete_button: button::State::new(), |