summaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorLeedehai <18319900+Leedehai@users.noreply.github.com>2024-03-15 09:55:03 -0400
committerGitHub <noreply@github.com>2024-03-15 13:55:03 +0000
commitbd8a0297259e8a29896682a543f2caabc6d1bea1 (patch)
tree8f252c53ea62a68ee33aff26067c2eb9537c72fa /crates
parent906637dacb6e1f22ccdd4595ae8e359d448d57f1 (diff)
Fix `Reflect` for `SpecificAlignment` (#3672)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
Diffstat (limited to 'crates')
-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 {