Skip to content

Commit

Permalink
Bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
martial-plains committed Oct 4, 2023
1 parent a1353e8 commit d9f5985
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions chip8_ui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ log = "0.4.20"
anyhow = "1.0.75"

# UI
egui = "0.22.0"
eframe = { version = "0.22.0", default-features = false, features = [
egui = "0.23.0"
eframe = { version = "0.23.0", default-features = false, features = [
"accesskit", # Make egui comptaible with screen readers. NOTE: adds a lot of dependencies.
"default_fonts", # Embed the default egui fonts.
"glow", # Use the glow rendering backend. Alternative: "wgpu".
Expand Down
12 changes: 6 additions & 6 deletions chip8_ui/src/gui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -484,12 +484,12 @@ impl ScreenView {
// Draw the list of rectangles
let painter = ui.painter();
painter.extend(rects.iter().map(|(rect, color)| {
egui::Shape::Rect(RectShape {
rect: *rect,
rounding: Rounding::none(),
fill: *color,
stroke: Stroke::new(1.0, *color),
})
egui::Shape::Rect(RectShape::new(
*rect,
Rounding::ZERO,
*color,
Stroke::new(1.0, *color),
))
}));
});
},
Expand Down

0 comments on commit d9f5985

Please sign in to comment.