egui/crates
LoganDark f0f41d60e1
eframe: Don't show window until after initialization (#2279)
* Don't show window until after initialization

Shortens #1802, but does not completely solve it

* format code

* Present first frame immediately before showing window

This resolves the white flash almost completely, but is a hack. Window
visibility should be derived from the AppOutput, and the first frame
should not be painted before the event loop has processed initial
events.

Working on a better implementation.

* Integrate window showing with AppOutput

This allows an app to keep the window hidden (never shown) by calling
Frame.set_visible(false) on the first update. This includes a slightly
less nasty hack than the last commit did.

Also fixes an accidental cross-contamination of pull requests.

* fmt

* add comments

* add comments

* add comments

* add comments

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
2022-11-13 20:30:52 +01:00
..
eframe eframe: Don't show window until after initialization (#2279) 2022-11-13 20:30:52 +01:00
egui Fixed color edit popup going outside the screen (#2270) 2022-11-11 14:09:54 +01:00
egui-wgpu Opt-in logging of egui-wgpu using puffin 2022-11-10 16:28:08 +01:00
egui-winit bump msrv 1.64 and tts + bindgen dep (#2274) 2022-11-11 10:27:25 +01:00
egui_demo_app Add helpers for zooming an app using Ctrl+Plus and Ctrl+Minus (#2239) 2022-11-05 11:18:13 +01:00
egui_demo_lib Painter extend accepts IntoIter (#2249) 2022-11-07 09:32:28 +01:00
egui_extras feat: add a way to provide customable scaling to SVG rasterization (#2252) 2022-11-07 16:52:14 +01:00
egui_glium Update ahash to 0.8.1 (#2255) 2022-11-07 09:23:45 +01:00
egui_glow Update op puffin 0.14.0 (#2257) 2022-11-07 12:37:37 +01:00
egui_web Fix broken GitHub source links due to #1940 2022-08-20 15:18:02 +02:00
emath Use total_cmp for clamping drag value in order to avoid floating point ambiguities (#2213) 2022-11-02 19:38:39 +01:00
epaint use RandomState::with_seeds replace AHasher::default (#2254) 2022-11-07 10:53:07 +01:00