Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
StillGreen-san committed Sep 3, 2024
1 parent 5f5e0c2 commit 9acbeb7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/widget/number_input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -340,9 +340,7 @@ where

fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node {
let num_size = self.size();
let limits = limits
.width(num_size.width)
.height(Length::Shrink);
let limits = limits.width(num_size.width).height(Length::Shrink);
let content = self
.content
.layout(&mut tree.children[0], renderer, &limits);
Expand Down

0 comments on commit 9acbeb7

Please sign in to comment.