Skip to content

Commit

Permalink
Merge pull request #1949 from nicksenger/fix/component-overlay-redraw
Browse files Browse the repository at this point in the history
Forward redraw requests in component overlay
  • Loading branch information
hecrj authored Jul 9, 2023
2 parents fb512c3 + 4c2aa07 commit 63b2dc3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions widget/src/lazy/component.rs
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,10 @@ where

local_shell.revalidate_layout(|| shell.invalidate_layout());

if let Some(redraw_request) = local_shell.redraw_request() {
shell.request_redraw(redraw_request);
}

if !local_messages.is_empty() {
let mut inner =
self.overlay.take().unwrap().0.take().unwrap().into_heads();
Expand Down

0 comments on commit 63b2dc3

Please sign in to comment.