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 {