From 0353f40dd522b6a64878fcf29dae5b5e9345af84 Mon Sep 17 00:00:00 2001 From: follower Date: Fri, 9 Apr 2021 08:22:58 +1200 Subject: [PATCH] Typo fix: "occational" -> "occasional" (#286) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3c9db427..a64b625f 100644 --- a/README.md +++ b/README.md @@ -248,7 +248,7 @@ In immediate mode you run into a paradox: to know the size of the window, we mus This is a fundamental shortcoming of immediate mode GUIs, and any attempt to resolve it comes with its own downsides. -One workaround is to store the size and use it the next frame. This produces a frame-delay for the correct layout, producing occational flickering the first frame something shows up. `egui` does this for some things such as windows and grid layouts. +One workaround is to store the size and use it the next frame. This produces a frame-delay for the correct layout, producing occasional flickering the first frame something shows up. `egui` does this for some things such as windows and grid layouts. You can also call the layout code twice (once to get the size, once to do the interaction), but that is not only more expensive, it's also complex to implement, and in some cases twice is not enough. `egui` never does this.