Update egui_extras/src/table.rs

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
This commit is contained in:
wayne 2022-04-04 03:16:24 +00:00 committed by GitHub
parent 84e0700459
commit 1d7f698669
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -472,7 +472,7 @@ impl<'a> TableBody<'a> {
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
if height_below_visible > 0.0 {
self.add_buffer(height_below_visible as f32);