summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/typst/src/layout/align.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/typst/src/layout/align.rs b/crates/typst/src/layout/align.rs
index 06c48cdd..41986a10 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 {