From bd8a0297259e8a29896682a543f2caabc6d1bea1 Mon Sep 17 00:00:00 2001 From: Leedehai <18319900+Leedehai@users.noreply.github.com> Date: Fri, 15 Mar 2024 09:55:03 -0400 Subject: [PATCH] Fix `Reflect` for `SpecificAlignment` (#3672) Co-authored-by: Laurenz --- crates/typst/src/layout/align.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/typst/src/layout/align.rs b/crates/typst/src/layout/align.rs index 06c48cdd0..41986a102 100644 --- a/crates/typst/src/layout/align.rs +++ b/crates/typst/src/layout/align.rs @@ -603,11 +603,11 @@ where V: Reflect, { fn input() -> CastInfo { - H::input() + V::input() + Alignment::input() } fn output() -> CastInfo { - H::output() + V::output() + Alignment::output() } fn castable(value: &Value) -> bool {