Fix Widget::height for Component

This commit is contained in:
Nick Senger 2021-12-08 15:33:06 -08:00
parent 6f3a608717
commit 4a54d4dfc5
No known key found for this signature in database
GPG key ID: F905159224DB77D8

View file

@ -68,7 +68,7 @@ where
}
fn height(&self) -> Length {
self.state.as_ref().unwrap().borrow_cache().element.width()
self.state.as_ref().unwrap().borrow_cache().element.height()
}
fn layout(