mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
Fix Reflect
for SpecificAlignment
(#3672)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
This commit is contained in:
parent
906637dacb
commit
bd8a029725
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user