Skip to content

Commit

Permalink
chore: make UI scale bigger, more legible
Browse files Browse the repository at this point in the history
this got messed up when i manually vendored the macroquad + egui libs
.. did I break? did something change in the upgrades?
  • Loading branch information
nathanleiby committed Sep 9, 2024
1 parent 33dd6d0 commit 52d024a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/egui_ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ impl UIState {
}

pub fn draw_ui(ctx: &egui::Context, ui_state: &UIState, events: &mut Vec<Events>) {
// make everything bigger, so text is legible
ctx.set_pixels_per_point(2.0);

draw_top_panel(ctx, events, ui_state);

draw_left_panel(ctx, ui_state, events);
Expand Down

0 comments on commit 52d024a

Please sign in to comment.