Skip to content

Commit

Permalink
fixed spinner
Browse files Browse the repository at this point in the history
  • Loading branch information
genusistimelord committed Nov 8, 2023
1 parent f81ae21 commit 2393df1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ default = [
#"menu",
#"quad",
#"context_menu",
#"spinner",
"spinner",
#"cupertino",
#"segmented_button",
]
Expand Down Expand Up @@ -102,7 +102,7 @@ members = [
"examples/split",
"examples/split_scroller",
#"examples/menu",
#"examples/spinner",
"examples/spinner",
#"examples/context_menu",
#"examples/WidgetIDReturn",
#"examples/segmented_button",
Expand Down
2 changes: 1 addition & 1 deletion src/native/spinner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ where
self.height
}

fn layout(&self, _renderer: &Renderer, limits: &Limits) -> Node {
fn layout(&self, _tree: &mut Tree, _renderer: &Renderer, limits: &Limits) -> Node {
Node::new(
limits
.width(self.width)
Expand Down

0 comments on commit 2393df1

Please sign in to comment.