Include RedrawRequested event in draw debug stage
This commit is contained in:
parent
bd556269ea
commit
193a340d6d
1 changed files with 1 additions and 1 deletions
|
|
@ -751,6 +751,7 @@ async fn run_instance<P>(
|
|||
.get_mut(&id)
|
||||
.expect("Get user interface");
|
||||
|
||||
let draw_span = debug::draw(id);
|
||||
let (ui_state, _) = ui.update(
|
||||
&[redraw_event.clone()],
|
||||
cursor,
|
||||
|
|
@ -759,7 +760,6 @@ async fn run_instance<P>(
|
|||
&mut messages,
|
||||
);
|
||||
|
||||
let draw_span = debug::draw(id);
|
||||
let new_mouse_interaction = ui.draw(
|
||||
&mut window.renderer,
|
||||
window.state.theme(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue