Skip to content

How can backends properly support Context::set_zoom_factor? #5720

Closed Answered by dgulotta
dgulotta asked this question in Q&A
Discussion options

You must be logged in to vote

I looked at the egui_glow code and it seems that:

  • raw_input.screen_rect needs to be divided by the zoom factor.
  • The renderer needs to scale the egui output by the zoom factor.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dgulotta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant