diff options
| author | Leedehai <18319900+Leedehai@users.noreply.github.com> | 2024-03-15 09:55:03 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-15 13:55:03 +0000 |
| commit | bd8a0297259e8a29896682a543f2caabc6d1bea1 (patch) | |
| tree | 8f252c53ea62a68ee33aff26067c2eb9537c72fa | |
| parent | 906637dacb6e1f22ccdd4595ae8e359d448d57f1 (diff) | |
Fix `Reflect` for `SpecificAlignment` (#3672)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
| -rw-r--r-- | crates/typst/src/layout/align.rs | 4 |
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 { |
