summaryrefslogtreecommitdiffstats
path: root/lazy/src/responsive.rs
diff options
context:
space:
mode:
authorLibravatar Cory Forsstrom <cforsstrom18@gmail.com>2023-04-17 19:04:27 -0700
committerLibravatar GitHub <noreply@github.com>2023-04-17 19:04:27 -0700
commitf42fb6af54ea6057a8476704c6756b59c3f3d631 (patch)
tree5c0f3640159a79ce1e0cc588b3845e60aa26fe05 /lazy/src/responsive.rs
parentac7b77f59c720bdb618057df0435fa1170d9c84a (diff)
downloadiced-f42fb6af54ea6057a8476704c6756b59c3f3d631.tar.gz
iced-f42fb6af54ea6057a8476704c6756b59c3f3d631.tar.bz2
iced-f42fb6af54ea6057a8476704c6756b59c3f3d631.zip
Update lazy/src/responsive.rs
Co-authored-by: Héctor Ramón <hector0193@gmail.com>
Diffstat (limited to '')
-rw-r--r--lazy/src/responsive.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lazy/src/responsive.rs b/lazy/src/responsive.rs
index 2f097ff5..88ed6312 100644
--- a/lazy/src/responsive.rs
+++ b/lazy/src/responsive.rs
@@ -206,7 +206,7 @@ where
);
if local_shell.is_layout_invalid() {
- let _ = content.layout.take();
+ content.layout = None;
}
shell.merge(local_shell, std::convert::identity);