Skip to content

Commit

Permalink
add update content
Browse files Browse the repository at this point in the history
  • Loading branch information
raphamorim committed Aug 21, 2024
1 parent 2b95262 commit d455db2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
- **breaking:** Removed breadcrumb navigation.
- **breaking:** Introduced a new property in theme called `bar`, default color changed is `#1b1a1a`.
- **breaking:** `CollapsedTab` is now default for all platforms.
- Tab UI got some updates.
- Introduce `navigation.hide-if-single` property (Ref: [#595](https://github.com/raphamorim/rio/issues/595)).
- Performance update: Remove lock dependencies on render calls.
- Performance update: Render repeated styled fragments as one rect.
Expand Down
8 changes: 7 additions & 1 deletion frontends/rioterm/src/sequencer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ impl Sequencer {
{
if self.config.confirm_before_quit {
route.confirm_quit();
route.window.screen.update_content();
route.redraw();
} else {
route.quit();
Expand Down Expand Up @@ -599,6 +600,7 @@ impl Sequencer {
&self.router.font_library,
);

route.window.screen.update_content();
route.redraw();
}
}
Expand Down Expand Up @@ -754,7 +756,8 @@ impl Sequencer {
route.window.screen.on_left_click(pos);
}

route.window.winit_window.request_redraw();
route.window.screen.update_content();
route.redraw();
}
route.window.screen.process_mouse_bindings(button);
}
Expand Down Expand Up @@ -1077,6 +1080,7 @@ impl Sequencer {
!= preedit.as_ref()
{
route.window.screen.ime.set_preedit(preedit);
route.window.screen.update_content();
route.redraw();
}
}
Expand Down Expand Up @@ -1113,6 +1117,7 @@ impl Sequencer {
route.window.is_focused = focused;

if has_regained_focus {
route.window.screen.update_content();
route.redraw();
}

Expand Down Expand Up @@ -1189,6 +1194,7 @@ impl Sequencer {
.window
.screen
.set_scale(scale, route.window.winit_window.inner_size());
route.window.screen.update_content();
route.redraw();
}
}
Expand Down

0 comments on commit d455db2

Please sign in to comment.