Fix alignment of blocks adjacent to other blocks

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
Nathan Sobo
2021-12-01 17:58:44 -07:00
co-authored by Max Brunsfeld
parent ee693a8d2b
commit 5ae46709b0
2 changed files with 9 additions and 8 deletions
+2 -2
View File
@@ -827,8 +827,8 @@ impl AlignedBlock {
self.render.lock()(cx)
}
pub fn disposition(&self) -> BlockDisposition {
self.block.disposition
pub fn position(&self) -> &Anchor {
&self.block.position
}
}