Update egui_extras/src/table.rs
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
This commit is contained in:
parent
84e0700459
commit
1d7f698669
1 changed files with 1 additions and 1 deletions
|
@ -472,7 +472,7 @@ impl<'a> TableBody<'a> {
|
||||||
height_below_visible += height as f64
|
height_below_visible += height as f64
|
||||||
}
|
}
|
||||||
|
|
||||||
// if height bloew visible is > 0 here then we need to add a buffer to allow the table to
|
// if height below visible is > 0 here then we need to add a buffer to allow the table to
|
||||||
// accurately calculate the "virtual" scrollbar position
|
// accurately calculate the "virtual" scrollbar position
|
||||||
if height_below_visible > 0.0 {
|
if height_below_visible > 0.0 {
|
||||||
self.add_buffer(height_below_visible as f32);
|
self.add_buffer(height_below_visible as f32);
|
||||||
|
|
Loading…
Reference in a new issue