diff options
author | 2024-02-03 14:18:11 +0100 | |
---|---|---|
committer | 2024-02-03 14:18:11 +0100 | |
commit | db9ca1a147f2c57c362dbdb90cde56d1646dccc1 (patch) | |
tree | 434ad01bf6b96785a54a7f8d0992a94a93d3b8ec /widget/src | |
parent | 066ee088d97acddbfae3d5cbe302cf17d23fcc2c (diff) | |
download | iced-db9ca1a147f2c57c362dbdb90cde56d1646dccc1.tar.gz iced-db9ca1a147f2c57c362dbdb90cde56d1646dccc1.tar.bz2 iced-db9ca1a147f2c57c362dbdb90cde56d1646dccc1.zip |
Run `cargo fmt`
Diffstat (limited to 'widget/src')
-rw-r--r-- | widget/src/text_editor.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/widget/src/text_editor.rs b/widget/src/text_editor.rs index 0d73e41b..edc2e386 100644 --- a/widget/src/text_editor.rs +++ b/widget/src/text_editor.rs @@ -409,7 +409,9 @@ where Update::Scroll(mut lines) => { lines += state.partial_scroll; state.partial_scroll = lines.fract(); - shell.publish(on_edit(Action::Scroll { lines: lines as i32 })) + shell.publish(on_edit(Action::Scroll { + lines: lines as i32, + })) } Update::Unfocus => { state.is_focused = false; |