mirror of
https://github.com/emilk/egui.git
synced 2026-06-27 15:13:12 -04:00
always assign self.odd
This commit is contained in:
@@ -179,9 +179,7 @@ impl<'a> TableBody<'a> {
|
||||
let count = (max_height / height).ceil() as usize;
|
||||
let end = cmp::min(start + count, rows);
|
||||
|
||||
if start % 2 != 0 {
|
||||
self.odd = false;
|
||||
}
|
||||
self.odd = start % 2 == 0;
|
||||
|
||||
for idx in start..end {
|
||||
row(
|
||||
|
||||
Reference in New Issue
Block a user