optozorax / egui-macroquad

egui bindings for macroquad
https://optozorax.github.io/egui-macroquad/
Apache License 2.0
91 stars 75 forks source link

Usage of egui Context.set_pixels_per_point don't work #19

Closed buxx closed 2 years ago

buxx commented 2 years ago

Hello,

I'm trying to use Context.set_pixels_per_point don't work function, but it has no effect. Example :by modifying README example :

        egui_macroquad::ui(|egui_ctx| {
            egui::Window::new("egui ❤ macroquad").show(egui_ctx, |ui| {
                ui.ctx().set_pixels_per_point(2.0);
                ui.label("Test");
            });
        });

Note : I tried to call it with egui_macroquad::cfg(|egui_cfg| egui_cfg.set_pixels_per_point(2.0)); without effect too.

Do you know why it has no effect ?

buxx commented 2 years ago

Just realized what is a egui-miniquad bug. I opened issues here : https://github.com/not-fl3/egui-miniquad/issues/39