mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 05:40:03 -04:00
You can override the default Egui fonts
Closes https://github.com/emilk/egui/issues/32
This commit is contained in:
@@ -57,6 +57,7 @@ pub fn run(
|
||||
|
||||
let mut ctx = egui::Context::new();
|
||||
*ctx.memory() = egui::app::get_value(storage.as_ref(), EGUI_MEMORY_KEY).unwrap_or_default();
|
||||
app.setup(&ctx);
|
||||
|
||||
let mut raw_input = egui::RawInput {
|
||||
pixels_per_point: Some(native_pixels_per_point(&display)),
|
||||
|
||||
Reference in New Issue
Block a user