1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-03 23:30:04 -04:00

[egui_glium] Restore window position when starting app

This commit is contained in:
Emil Ernerfeldt
2020-12-21 22:10:31 +01:00
parent 05f3cd66ce
commit dbab277658
2 changed files with 11 additions and 5 deletions

View File

@@ -13,14 +13,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Changed
* `egui_glium` will now save you app state to [a better directory](https://docs.rs/directories-next/2.0.0/directories_next/struct.ProjectDirs.html#method.data_dir)
* `egui_glium` will now save you app state to [a better directory](https://docs.rs/directories-next/2.0.0/directories_next/struct.ProjectDirs.html#method.data_dir).
* `egui_glium::run`: the parameter `app` now has signature `Box<dyn App>` (you need to add `Box::new(app)` to your code).
* Window title is now passed via the `trait` function `egui::App::name()`
* Window title is now passed via the `trait` function `egui::App::name()`.
### Fixed 🐛
* Serialize window size in logical points instead of physical pixels
* Serialize window size in logical points instead of physical pixels.
* Window position is now restored on restart.
## 0.5.0 - 2020-12-13