summaryrefslogtreecommitdiffstats
path: root/lazy
diff options
context:
space:
mode:
authorLibravatar Nick Senger <nicks@lich.io>2021-12-08 15:33:06 -0800
committerLibravatar Nick Senger <nicks@lich.io>2021-12-08 15:33:25 -0800
commit4a54d4dfc54cd6551a082a96c019fe2504c23a2a (patch)
treee755af89159afd101f464cf921610bdc3e28020e /lazy
parent6f3a608717e08330187871516b1ab54a9a2192a3 (diff)
downloadiced-4a54d4dfc54cd6551a082a96c019fe2504c23a2a.tar.gz
iced-4a54d4dfc54cd6551a082a96c019fe2504c23a2a.tar.bz2
iced-4a54d4dfc54cd6551a082a96c019fe2504c23a2a.zip
Fix `Widget::height` for `Component`
Diffstat (limited to 'lazy')
-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(