-
-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(bar): hotloading for viewport inner_size
This commit adds hot reloading for changes made to viewport.inner_size in the configuration file. I still don't understand how the scaling works with egui, but at least for the time being there are some rough heuristics I've thrown together. The transformation of y still seems a little off, but the transformation of x seems pretty accurate when dividing by native_pixels_per_point.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters