Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix scale factor of egui context #30358

Closed
wants to merge 2 commits into from
Closed

Conversation

wusyong
Copy link
Contributor

@wusyong wusyong commented Sep 14, 2023


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #___ (GitHub issue number if applicable)
  • There are tests for these changes OR
  • These changes do not require tests because ___

The toolbar is way too small in some of my devices, because it hasn't set the proper scale factor(pixels_per_point) yet.
This PR trys to pass the winit window for egui to setup context based on it.

@mrobinson
Copy link
Member

Is this fix a duplicate of #30343?

@wusyong
Copy link
Contributor Author

wusyong commented Sep 14, 2023

Ah sorry I didn't notice that. I'll close this PR.

@wusyong wusyong closed this Sep 14, 2023
@wusyong wusyong deleted the fix-scale-factor branch September 14, 2023 10:17
@mrobinson
Copy link
Member

No worries, @wusyong. Thanks for the fix in any case!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants