diff --git a/Cargo.lock b/Cargo.lock index 4de3c27ab52..748b3265d14 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1099,7 +1099,7 @@ checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650" [[package]] name = "ecolor" -version = "0.24.1" +version = "0.24.2" dependencies = [ "bytemuck", "cint", @@ -1110,7 +1110,7 @@ dependencies = [ [[package]] name = "eframe" -version = "0.24.1" +version = "0.24.2" dependencies = [ "bytemuck", "cocoa", @@ -1146,7 +1146,7 @@ dependencies = [ [[package]] name = "egui" -version = "0.24.1" +version = "0.24.2" dependencies = [ "accesskit", "ahash", @@ -1162,7 +1162,7 @@ dependencies = [ [[package]] name = "egui-wgpu" -version = "0.24.1" +version = "0.24.2" dependencies = [ "bytemuck", "document-features", @@ -1178,7 +1178,7 @@ dependencies = [ [[package]] name = "egui-winit" -version = "0.24.1" +version = "0.24.2" dependencies = [ "accesskit_winit", "arboard", @@ -1196,7 +1196,7 @@ dependencies = [ [[package]] name = "egui_demo_app" -version = "0.24.1" +version = "0.24.2" dependencies = [ "bytemuck", "chrono", @@ -1220,7 +1220,7 @@ dependencies = [ [[package]] name = "egui_demo_lib" -version = "0.24.1" +version = "0.24.2" dependencies = [ "chrono", "criterion", @@ -1235,7 +1235,7 @@ dependencies = [ [[package]] name = "egui_extras" -version = "0.24.1" +version = "0.24.2" dependencies = [ "chrono", "document-features", @@ -1255,7 +1255,7 @@ dependencies = [ [[package]] name = "egui_glow" -version = "0.24.1" +version = "0.24.2" dependencies = [ "bytemuck", "document-features", @@ -1274,7 +1274,7 @@ dependencies = [ [[package]] name = "egui_plot" -version = "0.24.1" +version = "0.24.2" dependencies = [ "document-features", "egui", @@ -1303,7 +1303,7 @@ checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" [[package]] name = "emath" -version = "0.24.1" +version = "0.24.2" dependencies = [ "bytemuck", "document-features", @@ -1379,7 +1379,7 @@ dependencies = [ [[package]] name = "epaint" -version = "0.24.1" +version = "0.24.2" dependencies = [ "ab_glyph", "ahash", diff --git a/Cargo.toml b/Cargo.toml index bbf9fb19b03..7db8cec3594 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ members = [ edition = "2021" license = "MIT OR Apache-2.0" rust-version = "1.72" -version = "0.24.1" +version = "0.24.2" [profile.release] diff --git a/crates/egui_extras/CHANGELOG.md b/crates/egui_extras/CHANGELOG.md index 9208b85c860..5cc3804182c 100644 --- a/crates/egui_extras/CHANGELOG.md +++ b/crates/egui_extras/CHANGELOG.md @@ -5,6 +5,10 @@ This file is updated upon each release. Changes since the last release can be found at 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)!) diff --git a/crates/egui_extras/src/table.rs b/crates/egui_extras/src/table.rs index 81a75df43de..c456ba9645e 100644 --- a/crates/egui_extras/src/table.rs +++ b/crates/egui_extras/src/table.rs @@ -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 {