update basic config

This commit is contained in:
ClementTsang 2021-12-30 22:44:21 -05:00
parent 93f936f369
commit 3ee6dcc5c7
2 changed files with 2 additions and 3 deletions

View File

@ -475,7 +475,7 @@ pub const DEFAULT_BASIC_LAYOUT: &str = r##"
ratio = 0
[[row.child]]
[[row.child.child]]
length = 1
height = 1
type = "empty"
[[row]]
ratio = 0
@ -496,7 +496,7 @@ pub const DEFAULT_BASIC_BATTERY_LAYOUT: &str = r##"
[[row]]
[[row.child]]
[[row.child.child]]
length = 1
height = 1
type = "empty"
[[row]]
[[row.child]]

View File

@ -204,7 +204,6 @@ impl<Message> TmpComponent<Message> for Flex<Message> {
// children here!
let mut current_x_offset = 0;
let mut current_y_offset = 0;
sizes
.iter()
.zip(children.iter_mut())