From 4a54d4dfc54cd6551a082a96c019fe2504c23a2a Mon Sep 17 00:00:00 2001 From: Nick Senger Date: Wed, 8 Dec 2021 15:33:06 -0800 Subject: Fix `Widget::height` for `Component` --- lazy/src/component.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lazy') 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( -- cgit