Implement Scroll action in text::editor
This commit is contained in:
parent
36e867de69
commit
4e757a26d0
3 changed files with 19 additions and 0 deletions
|
|
@ -446,6 +446,12 @@ impl editor::Editor for Editor {
|
|||
}
|
||||
}
|
||||
}
|
||||
Action::Scroll { lines } => {
|
||||
editor.action(
|
||||
font_system.raw(),
|
||||
cosmic_text::Action::Scroll { lines },
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
self.0 = Some(Arc::new(internal));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue