From eedf2805afab7c1d16acbda70d4fbfe12357863d Mon Sep 17 00:00:00 2001 From: Shark Date: Sat, 14 Sep 2024 17:01:25 +0200 Subject: [PATCH] fix inline boxes stuck on top --- crates/gosub_taffy/src/compute/inline.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/gosub_taffy/src/compute/inline.rs b/crates/gosub_taffy/src/compute/inline.rs index 2978f7669..4c1bcdb86 100644 --- a/crates/gosub_taffy/src/compute/inline.rs +++ b/crates/gosub_taffy/src/compute/inline.rs @@ -355,7 +355,7 @@ pub fn compute_inline_layout>( border: Rect::ZERO, location: Point { x: inline_box.x, - y: 0.0, + y: inline_box.y, }, order: 0, padding: Rect::ZERO,