egui/crates
zeozeozeo 4dc964ab4b
eframe: Fix window flashing white on launch (#3631)
This is a bug that can occur on Windows, previously it was fixed by only
showing the window after the first frame was rendered, but the bug
appeared again with egui 0.24.0. This commit fixes this bug by making
the window invisible on startup.

## Before


![window-flash](https://github.com/emilk/egui/assets/108888572/31a675af-8c30-46b1-a1af-653491cf67da)

## After


![no-window-flash](https://github.com/emilk/egui/assets/108888572/e7bfc429-033e-4842-8591-b9229143a60b)

<!--
Please read the "Making a PR" section of
[`CONTRIBUTING.md`](https://github.com/emilk/egui/blob/master/CONTRIBUTING.md)
before opening a Pull Request!

* Keep your PR:s small and focused.
* If applicable, add a screenshot or gif.
* If it is a non-trivial addition, consider adding a demo for it to
`egui_demo_lib`, or a new example.
* Do NOT open PR:s from your `master` branch, as that makes it hard for
maintainers to add commits to your PR.
* Remember to run `cargo fmt` and `cargo cranky`.
* Open the PR as a draft until you have self-reviewed it and run
`./scripts/check.sh`.
* When you have addressed a PR comment, mark it as resolved.

Please be patient! I will review your PR, but my time is limited!
-->

Closes https://github.com/emilk/egui/issues/3625.
2023-11-27 10:35:37 +01:00
..
ecolor Update changelogs 2023-11-23 15:46:04 +01:00
eframe eframe: Fix window flashing white on launch (#3631) 2023-11-27 10:35:37 +01:00
egui Update viewport.rs, fix comment typo: "vieweport" -> "viewport" (#3638) 2023-11-26 23:33:54 +01:00
egui-wgpu Release 0.24.0 - Multi-viewport 2023-11-23 15:56:46 +01:00
egui-winit Don't treat 'WindowEvent::CloseRequested' as consumed in egui-winit (#3627) 2023-11-26 23:37:03 +01:00
egui_demo_app Release 0.24.0 - Multi-viewport 2023-11-23 15:56:46 +01:00
egui_demo_lib Release 0.24.0 - Multi-viewport 2023-11-23 15:56:46 +01:00
egui_extras Release 0.24.0 - Multi-viewport 2023-11-23 15:56:46 +01:00
egui_glow Release 0.24.0 - Multi-viewport 2023-11-23 15:56:46 +01:00
egui_plot Release 0.24.0 - Multi-viewport 2023-11-23 15:56:46 +01:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath Use workspace definitions of edition,license,rust-version,version 2023-11-23 15:45:11 +01:00
epaint Release 0.24.0 - Multi-viewport 2023-11-23 15:56:46 +01:00