summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lazy/src/component.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lazy/src/component.rs b/lazy/src/component.rs
index aa5b847e..698f1796 100644
--- a/lazy/src/component.rs
+++ b/lazy/src/component.rs
@@ -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(