Skip to content

Commit

Permalink
Update egui to 0.23
Browse files Browse the repository at this point in the history
  • Loading branch information
Hirtol committed Sep 28, 2023
1 parent 882c239 commit 5aebab6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Egui Memory Editor Changelog
All notable changes to the `egui_memory_editor` crate will be documented in this file.

## 0.2.6 - 2023-09-28

* Update `egui` to `0.23`

## 0.2.5 - 2023-07-31

* Avoid showing an extra digit for addresses ([#10](https://github.com/Hirtol/egui_memory_editor/pull/10))
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "egui_memory_editor"
version = "0.2.5"
version = "0.2.6"
authors = ["Hirtol <[email protected]>"]
edition = "2021"
description = "A simple memory editor for the egui library"
Expand All @@ -17,10 +17,10 @@ default = []
serde = ["dep:serde", "egui/persistence"]

[dependencies]
egui = "0.22"
egui = "0.23"

[dev-dependencies]
eframe = "0.22"
eframe = "0.23"

[dependencies.serde]
version = "1"
Expand Down
10 changes: 5 additions & 5 deletions examples/simple/frame_history.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ impl FrameHistory {
let to_screen = emath::RectTransform::from_to(graph_rect, rect);

let mut shapes = Vec::with_capacity(3 + 2 * history.len());
shapes.push(Shape::Rect(epaint::RectShape {
shapes.push(Shape::Rect(epaint::RectShape::new(
rect,
rounding: style.rounding,
fill: ui.visuals().extreme_bg_color,
stroke: ui.style().noninteractive().bg_stroke,
}));
style.rounding,
ui.visuals().extreme_bg_color,
ui.style().noninteractive().bg_stroke,
)));

let rect = rect.shrink(4.0);
let color = ui.visuals().text_color();
Expand Down

0 comments on commit 5aebab6

Please sign in to comment.