Skip to content

Commit

Permalink
Update Deps
Browse files Browse the repository at this point in the history
  • Loading branch information
PolyMeilex committed Nov 25, 2020
1 parent 887670b commit acf869b
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 54 deletions.
94 changes: 47 additions & 47 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ futures = "0.3.8"

winit = "0.23.0"

wgpu = "0.6.0"
wgpu = "0.6.2"
wgpu_glyph = "0.10.0"


log = "0.4.11"
env_logger = "0.8.1"
env_logger = "0.8.2"

nfd2 = "0.2.3"

Expand Down
10 changes: 5 additions & 5 deletions src/scene/menu_scene/iced_menu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ mod neo_btn {
min_width: u32,
min_height: u32,
padding: u16,
border_radius: u16,
border_radius: f32,
disabled: bool,
content: Element<'a, Message, Renderer<B>>,
on_press: Option<Message>,
Expand All @@ -345,7 +345,7 @@ mod neo_btn {
min_width: 0,
min_height: 0,
padding: 5,
border_radius: 7,
border_radius: 7.0,
disabled: false,
content: content.into(),
}
Expand Down Expand Up @@ -510,7 +510,7 @@ mod neo_btn {
Primitive::Clip {
bounds: Rectangle {
y: bounds.y,
height: bounds.height - self.border_radius as f32,
height: bounds.height - self.border_radius,
..bounds
},
offset: Vector::new(0, 0),
Expand All @@ -521,7 +521,7 @@ mod neo_btn {
},
background: Background::Color(colors.0),
border_radius: self.border_radius,
border_width: 0,
border_width: 0.0,
border_color: Color::TRANSPARENT,
}),
},
Expand All @@ -539,7 +539,7 @@ mod neo_btn {
},
background: Background::Color(colors.1),
border_radius: self.border_radius,
border_width: 0,
border_width: 0.0,
border_color: Color::TRANSPARENT,
}),
},
Expand Down

0 comments on commit acf869b

Please sign in to comment.