mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
remove extra update action
This commit is contained in:
parent
f581f1d2f3
commit
1316f32343
2 changed files with 0 additions and 14 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue