Apply review fixes

- crates/ui-egui/src/preflight_worker.rs
This commit is contained in:
autocraft-bot[bot] committed 2026-11-12 05:32:14 +00:00
1 parent ee69d5ac39
commit 2e1d17e1fa
1 file changed
+4 -1
+4 -1
View File
@@ -151,7 +151,10 @@ fn issues_at(app: &mut DesignApp, ctx: &egui::Context, now: f64) -> Option<Arc<V
if let Some(wait) = state.worker.retry_wait() {
if wait.is_zero() {
found.asked_at = now;
state.worker.ask(ctx, of, doc, &cache, true);
if !state.worker.ask(ctx, of, doc, &cache, true) {
// Come back when a new worker may be tried again.
ctx.request_repaint_after(RETRY_AFTER);
}
} else {
// Come back when a new worker may be tried.
ctx.request_repaint_after(wait);