mirror of
https://github.com/emilk/egui.git
synced 2026-09-03 15:20:05 -04:00
Refactor galley size rounding
This commit is contained in:
@@ -860,7 +860,7 @@ impl GalleyCache {
|
||||
..byte_range.end.saturating_sub(start).min(end - start);
|
||||
Some(LayoutSection {
|
||||
leading_space: if byte_range.end == 0 {
|
||||
0.0 // this sections is behind us (unused in this paragraph)
|
||||
0.0 // this section is behind us (unused in this paragraph)
|
||||
} else {
|
||||
leading_space
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user