diff options
author | 2023-09-19 01:18:06 +0200 | |
---|---|---|
committer | 2023-09-19 01:18:06 +0200 | |
commit | 4e757a26d0c1c58001f31cf0592131cd5ad886ad (patch) | |
tree | b01589981ac76d044a62b2293a699598d26a1ab8 /core/src/text | |
parent | 36e867de693d4e9fc64da3d9d7745a5b1398d8a5 (diff) | |
download | iced-4e757a26d0c1c58001f31cf0592131cd5ad886ad.tar.gz iced-4e757a26d0c1c58001f31cf0592131cd5ad886ad.tar.bz2 iced-4e757a26d0c1c58001f31cf0592131cd5ad886ad.zip |
Implement `Scroll` action in `text::editor`
Diffstat (limited to 'core/src/text')
-rw-r--r-- | core/src/text/editor.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/text/editor.rs b/core/src/text/editor.rs index 13bafc3d..e9d66ce9 100644 --- a/core/src/text/editor.rs +++ b/core/src/text/editor.rs @@ -52,6 +52,7 @@ pub enum Action { Edit(Edit), Click(Point), Drag(Point), + Scroll { lines: i32 }, } impl Action { |