Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bircni committed Dec 18, 2024
1 parent 5ee32ae commit 77a072f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ egui = { version = "0.30", default-features = false }
eframe = { version = "0.30", default-features = false, features = [
"default_fonts",
"glow",
"x11",
"wayland",
] }
egui-phosphor = { git = "https://github.com/ItsEthra/egui-phosphor", branch = "main" }
egui-phosphor = "0.8"

[lints.rust]
unsafe_code = "forbid"
Expand Down
6 changes: 3 additions & 3 deletions examples/all.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ fn main() -> eframe::Result<()> {

let mut font_def = FontDefinitions::default();
egui_phosphor::add_to_fonts(&mut font_def, egui_phosphor::Variant::Regular);
for data in font_def.font_data.values_mut() {
data.tweak.scale = 1.25;
}
// for data in font_def.font_data.values_mut() {
// data.tweak.scale = 1.25;
// }
cc.egui_ctx.set_fonts(font_def);

Ok(Box::new(ExampleApp {
Expand Down

0 comments on commit 77a072f

Please sign in to comment.