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:
parent
d8a795598f
commit
b1721a3ce7
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue