-
The Context::set_zoom_factor function works properly in eframe, but it seems to be broken in a lot of other backends (bevy, notan, sdl2_gl are the ones I tried). I wanted to try to fix one of these, but I'm not sure where to start. Is there any place that I should look to understand what eframe does to make zoom factors work? |
Beta Was this translation helpful? Give feedback.
Answered by
dgulotta
Feb 16, 2025
Replies: 1 comment
-
I looked at the egui_glow code and it seems that:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dgulotta
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I looked at the egui_glow code and it seems that:
raw_input.screen_rect
needs to be divided by the zoom factor.