egui/crates
Jan Procházka 3d632cd333
Move first `request_animation_frame` into resize observer (#4628)
This PR ensures the first animation frame happens _after_ the resize
observer has had a chance to do its job.

* Closes https://github.com/emilk/egui/issues/4622

The first commit contains some `log` calls to observe the changed
behavior:

Before:
```
[eframe::web::app_runner] eframe/src/web/app_runner.rs:191: LOGIC [300.0 150.0]
[eframe::web::events] eframe/src/web/events.rs:633: ResizeObserver canvas=[300.0 150.0] to=(1920, 993)
[eframe::web::app_runner] eframe/src/web/app_runner.rs:191: LOGIC [1920.0 993.0]
[eframe::web::app_runner] eframe/src/web/app_runner.rs:191: LOGIC [1920.0 993.0]
```

After:
```
[eframe::web::events] eframe/src/web/events.rs:633: ResizeObserver canvas=[300.0 150.0] to=(1920, 993)
[eframe::web::app_runner] eframe/src/web/app_runner.rs:191: LOGIC [1920.0 993.0]
[eframe::web::app_runner] eframe/src/web/app_runner.rs:191: LOGIC [1920.0 993.0]
```
2024-06-06 10:30:32 +02:00
..
ecolor Move dependencies to workspace (#4495) 2024-05-14 11:02:49 +02:00
eframe Move first `request_animation_frame` into resize observer (#4628) 2024-06-06 10:30:32 +02:00
egui Handle tooltips so large that they cover the widget (#4623) 2024-06-05 19:08:51 +02:00
egui-wgpu Revert update to wgpu 0.20 => downgrade to wgpu 0.19.1 (#4559) 2024-05-28 14:40:43 +02:00
egui-winit Do no use the ahash reimport (#4504) 2024-05-27 16:24:50 +02:00
egui_demo_app Replace some `...` with `…` 2024-05-29 11:48:50 +02:00
egui_demo_lib Add tags to `UiStack` (#4617) 2024-06-05 18:46:50 +02:00
egui_extras Set the `sizing_pass` flag in first frame of `egui_extras::Table` (#4613) 2024-06-05 12:17:15 +02:00
egui_glow Do no use the ahash reimport (#4504) 2024-05-27 16:24:50 +02:00
egui_plot Introduce `UiStack` (#4588) 2024-06-04 10:12:23 +02:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath `Rect::intersects_ray`: another bug fix (#4597) 2024-05-31 17:28:38 +02:00
epaint Bug fix: ui opacity and gray-out not affecting strokes (#4581) 2024-05-29 22:37:55 +02:00