Include RedrawRequested event in draw debug stage

This commit is contained in:
Héctor Ramón Jiménez 2025-04-10 00:54:41 +02:00
parent bd556269ea
commit 193a340d6d
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -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(),