remove extra update action

This commit is contained in:
yggverse 2025-01-29 15:55:42 +02:00
parent f581f1d2f3
commit 1316f32343
2 changed files with 0 additions and 14 deletions

View file

@ -85,7 +85,6 @@ impl Form {
if !this.text().is_empty() {
match navigation.forward(subject) {
Some((mut start, _)) => {
navigation.update();
result.update(navigation.position(), navigation.total());
scroll_to_iter(&subject.text_view, &mut start)
}
@ -130,7 +129,6 @@ impl Form {
Some(subject) => {
match navigation.back(subject) {
Some((mut start, _)) => {
navigation.update();
result.update(navigation.position(), navigation.total());
scroll_to_iter(&subject.text_view, &mut start)
}
@ -148,7 +146,6 @@ impl Form {
move |_| match subject.borrow().as_ref() {
Some(subject) => match navigation.forward(subject) {
Some((mut start, _)) => {
navigation.update();
result.update(navigation.position(), navigation.total());
scroll_to_iter(&subject.text_view, &mut start)
}