mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
Some more work for multiples windows support
This commit is contained in:
@@ -281,7 +281,10 @@ impl BackendPanel {
|
||||
let ctx = ui.ctx().clone();
|
||||
call_after_delay(std::time::Duration::from_secs(2), move || {
|
||||
log::info!("Request a repaint in 3s...");
|
||||
ctx.request_repaint_after(std::time::Duration::from_secs(3));
|
||||
ctx.request_repaint_after(
|
||||
std::time::Duration::from_secs(3),
|
||||
ctx.current_window_id(),
|
||||
);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user