From 4910e0383360a8314f6ede160ac0e13e014c650d Mon Sep 17 00:00:00 2001 From: Jakub Hlusička Date: Tue, 13 Oct 2020 20:48:53 +0200 Subject: Fix typo in Row's and Column's hash_layout --- native/src/widget/column.rs | 1 + native/src/widget/row.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/native/src/widget/column.rs b/native/src/widget/column.rs index 42cfe9b9..df21cdde 100644 --- a/native/src/widget/column.rs +++ b/native/src/widget/column.rs @@ -199,6 +199,7 @@ where self.max_height.hash(state); self.align_items.hash(state); self.spacing.hash(state); + self.padding.hash(state); for child in &self.children { child.widget.hash_layout(state); diff --git a/native/src/widget/row.rs b/native/src/widget/row.rs index 2b6db224..263f78d3 100644 --- a/native/src/widget/row.rs +++ b/native/src/widget/row.rs @@ -200,7 +200,7 @@ where self.max_height.hash(state); self.align_items.hash(state); self.spacing.hash(state); - self.spacing.hash(state); + self.padding.hash(state); for child in &self.children { child.widget.hash_layout(state); -- cgit