From a9084258027164158116e3c09d37b9f297f6396d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Proch=C3=A1zka?= Date: Mon, 27 May 2024 21:35:06 +0200 Subject: [PATCH] Update crates/eframe/src/web/web_runner.rs Co-authored-by: Emil Ernerfeldt --- crates/eframe/src/web/web_runner.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/eframe/src/web/web_runner.rs b/crates/eframe/src/web/web_runner.rs index fd8a7cf236e..44e804f6c27 100644 --- a/crates/eframe/src/web/web_runner.rs +++ b/crates/eframe/src/web/web_runner.rs @@ -200,8 +200,8 @@ impl WebRunner { let closure = Closure::once({ let runner_ref = self.clone(); move || { - // we can paint now, so clear the animation frame - // this drop the `closure` and allows another + // We can paint now, so clear the animation frame. + // This drops the `closure` and allows another // animation frame to be scheduled let _ = runner_ref.frame.take(); events::paint_and_schedule(&runner_ref)