mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
Release egui_extras 0.24.2 - Fix Table scrolling bug (#3691)
Includes: * https://github.com/emilk/egui/pull/3690 --------- Co-authored-by: Antoine Beyeler <49431240+abey79@users.noreply.github.com>
This commit is contained in:
@@ -5,6 +5,10 @@ This file is updated upon each release.
|
||||
Changes since the last release can be found at <https://github.com/emilk/egui/compare/latest...HEAD> or by running the `scripts/generate_changelog.py` script.
|
||||
|
||||
|
||||
## 0.24.2 - 2023-12-08 - `Table` scroll bug fix
|
||||
* Fix `Table` scrolling bug [#3690](https://github.com/emilk/egui/pull/3690)
|
||||
|
||||
|
||||
## 0.24.1 - 2023-11-30
|
||||
* Add more years for datepicker [#3599](https://github.com/emilk/egui/pull/3599) (thanks [@vaqxai](https://github.com/vaqxai)!)
|
||||
|
||||
|
||||
@@ -802,7 +802,8 @@ impl<'a> TableBody<'a> {
|
||||
|
||||
/// Add a single row with the given height.
|
||||
///
|
||||
/// If you have many thousands of row it can be more performant to instead use [`Self::rows`] or [`Self::heterogeneous_rows`].
|
||||
/// ⚠️ It is much more performant to use [`Self::rows`] or [`Self::heterogeneous_rows`],
|
||||
/// as those functions will only render the visible rows.
|
||||
pub fn row(&mut self, height: f32, add_row_content: impl FnOnce(TableRow<'a, '_>)) {
|
||||
let top_y = self.layout.cursor.y;
|
||||
add_row_content(TableRow {
|
||||
|
||||
Reference in New Issue
Block a user