Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharktheone committed Sep 4, 2024
1 parent d63de68 commit f051f68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions crates/gosub_taffy/src/compute/inline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ pub fn compute_inline_layout<LT: LayoutTree<TaffyLayouter>>(
let gl = Glyph {
id: g.id,
x: g.x + offset,
y: g.y + fs,
y: g.y,
};

offset += g.advance;
Expand Down Expand Up @@ -381,7 +381,7 @@ pub fn compute_inline_layout<LT: LayoutTree<TaffyLayouter>>(
border: Rect::ZERO,
location: Point {
x: run.offset(),
y: 0.0,
y: run_y,
},
order: 0,
padding: Rect::ZERO,
Expand Down

0 comments on commit f051f68

Please sign in to comment.