mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 14:50:03 -04:00
Update egui_extras/src/table.rs
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user