1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 05:10:03 -04:00

Fix some typos

This commit is contained in:
Hubert Głuchowski
2025-04-01 16:08:51 +02:00
parent ff0e7d03f4
commit 9d61f9c927
2 changed files with 2 additions and 2 deletions

View File

@@ -917,7 +917,7 @@ impl GalleyCache {
/// If true, lay out and cache each paragraph (sections separated by newlines) individually.
///
/// This makes it much faster to re-lauout the full tet when only a portion of it has changed since last frame, i.e. when editing somewhere in a file with thousands of lines/paragraphs.
/// This makes it much faster to re-layout the full text when only a portion of it has changed since last frame, i.e. when editing somewhere in a file with thousands of lines/paragraphs.
fn should_cache_each_paragraph_individually(job: &LayoutJob) -> bool {
// We currently don't support this elided text, i.e. when `max_rows` is set.
// Most often, elided text is elided to one row,

View File

@@ -555,7 +555,7 @@ pub struct PlacedRow {
/// This is rounded to the closest _pixel_ in order to produce crisp, pixel-perfect text.
pub pos: Pos2,
/// The underlying row unpositioned [`Row`].
/// The underlying unpositioned [`Row`].
pub row: Arc<Row>,
}