1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 21:30:03 -04:00

Update serial window example (#2756)

* Update to make it more clear what will happen

* Provide an overview in readme of expectations

* Update screenshot to match new code
This commit is contained in:
c-git
2023-03-29 09:55:45 -04:00
committed by GitHub
parent 8eeb3e0d28
commit 2946ed74e3
3 changed files with 19 additions and 5 deletions

View File

@@ -1,5 +1,12 @@
Demonstrates how to open several windows after each other.
Expected order of execution:
- When the example runs a first window will be shown.
- Once the first window is closed after a delay a second window will be shown.
- Similarly, when the second window is closed after a delay a third will be shown.
- Once the third is closed the program will stop.
NOTE: this doesn't work on Mac due to <https://github.com/rust-windowing/winit/issues/2431>.
See also <https://github.com/emilk/egui/issues/1918>.