Fix looping bug 🚧
This commit is contained in:
parent
269f069a4d
commit
63b8ccba95
@ -108,6 +108,11 @@ impl LineLayouter {
|
|||||||
if !self.line_is_empty() {
|
if !self.line_is_empty() {
|
||||||
self.finish_line()?;
|
self.finish_line()?;
|
||||||
} else {
|
} else {
|
||||||
|
if self.stack.space_is_last() && self.stack.space_is_empty() {
|
||||||
|
error!("cannot fit box of size {} into usable size of {}",
|
||||||
|
layout.dimensions, self.usable());
|
||||||
|
}
|
||||||
|
|
||||||
self.finish_space(true)?;
|
self.finish_space(true)?;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user