Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
wash2 committed Dec 6, 2024
1 parent 28d7601 commit 565e6d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widget/cards.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ where
let mut n = clear_all
.as_widget()
.layout(&mut tree_children[1], renderer, limits);
let clear_all_node_size = clear_all_node.size();
let clear_all_node_size = n.size();
n = clear_all_node
.translate(Vector::new(size.width - clear_all_node_size.width, 0.0));
size.height += show_less_node.size().height.max(n.size().height) + VERTICAL_SPACING;
Expand Down

0 comments on commit 565e6d8

Please sign in to comment.