Skip to content

Commit

Permalink
Format.
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinMReppert committed Nov 20, 2024
1 parent 707a03b commit 4452503
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions examples/cosmic_text/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ struct BufferGlyphRun {

struct BufferGlyphs {
font_size: f32,
glyphs: Vec<BufferGlyphRun>
glyphs: Vec<BufferGlyphRun>,
}

struct SimpleVelloApp<'s> {
Expand Down Expand Up @@ -334,7 +334,7 @@ fn create_glyphs(buffer: &Buffer) -> BufferGlyphs {
};

let mut current_glyphs: Vec<Glyph> = vec![];

for layout_run in buffer.layout_runs() {
let line_y = layout_run.line_y as f64;

Expand Down Expand Up @@ -367,6 +367,5 @@ fn create_glyphs(buffer: &Buffer) -> BufferGlyphs {
}
}


buffer_glyphs
}

0 comments on commit 4452503

Please sign in to comment.