mirror of
https://github.com/typst/typst
synced 2025-05-15 17:45:27 +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,
|
V: Reflect,
|
||||||
{
|
{
|
||||||
fn input() -> CastInfo {
|
fn input() -> CastInfo {
|
||||||
H::input() + V::input()
|
Alignment::input()
|
||||||
}
|
}
|
||||||
|
|
||||||
fn output() -> CastInfo {
|
fn output() -> CastInfo {
|
||||||
H::output() + V::output()
|
Alignment::output()
|
||||||
}
|
}
|
||||||
|
|
||||||
fn castable(value: &Value) -> bool {
|
fn castable(value: &Value) -> bool {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user