1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 06:40:06 -04:00

Better documentation for Event::Zoom (#4778)

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

Also add this to the 0.28 migration guide.
This commit is contained in:
Emil Ernerfeldt
2024-07-04 10:31:27 +02:00
committed by GitHub
parent 8bf498d2bf
commit 042e1add41
3 changed files with 10 additions and 1 deletions

View File

@@ -22,6 +22,7 @@ Changes since the last release can be found at <https://github.com/emilk/egui/co
* `Ui::new` and `ui.child_ui` now takes a new parameter for the `UiStack` ([#4588](https://github.com/emilk/egui/pull/4588))
* The `extra_asserts` and `extra_debug_asserts` feature flags have been removed ([#4478](https://github.com/emilk/egui/pull/4478))
* Remove `Event::Scroll` and handle it in egui. Use `Event::MouseWheel` instead ([#4524](https://github.com/emilk/egui/pull/4524))
* `Event::Zoom` is no longer emitted on ctrl+scroll. Use `InputState::smooth_scroll_delta` instead ([#4524](https://github.com/emilk/egui/pull/4524))
* `ui.set_enabled` and `set_visbile` have been deprecated ([#4614](https://github.com/emilk/egui/pull/4614))
* `DragValue::clamp_range` renamed to `range` (([#4728](https://github.com/emilk/egui/pull/4728))