Skip to content

Commit

Permalink
Call update after running commands in the idle handler. (#1062)
Browse files Browse the repository at this point in the history
  • Loading branch information
jneem authored Jun 28, 2020
1 parent 0548b7a commit 9ab08b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ You can find its changes [documented below](#060---2020-06-01).
- macOS: Timers not firing during modal loop. ([#1028] by [@xStrom])
- GTK: Directory selection now properly ignores file filters. ([#957] by [@xStrom])
- GTK: Don't crash when receiving an external command while a file dialog is visible. ([#1043] by [@jneem])
- Ensure that `update` is called after all commands. ([#1062] by [@jneem])

### Visual

Expand Down Expand Up @@ -340,6 +341,7 @@ Last release without a changelog :(
[#1043]: https://github.com/linebender/druid/pull/1043
[#1050]: https://github.com/linebender/druid/pull/1050
[#1054]: https://github.com/linebender/druid/pull/1054
[#1062]: https://github.com/linebender/druid/pull/1062

[Unreleased]: https://github.com/linebender/druid/compare/v0.6.0...master
[0.6.0]: https://github.com/linebender/druid/compare/v0.5.0...v0.6.0
Expand Down
2 changes: 1 addition & 1 deletion druid/src/win_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ impl<T: Data> AppState<T> {
match token {
RUN_COMMANDS_TOKEN => {
self.process_commands();
self.inner.borrow_mut().invalidate_and_finalize();
self.inner.borrow_mut().do_update();
}
EXT_EVENT_IDLE_TOKEN => {
self.process_ext_events();
Expand Down

0 comments on commit 9ab08b8

Please sign in to comment.