diff --git a/CHANGELOG.md b/CHANGELOG.md index d7514e9..846c68f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## [Unreleased] - ReleaseDate +### Fixed + +- Fix missing window title during installation step + ## [0.2.6] - 2025-10-31 ### Added @@ -100,8 +104,8 @@ - First release -[Unreleased]: https://github.com/meehl/rusty-path-of-building/compare/v0.2.6...HEAD +[Unreleased]: https://github.com/meehl/rusty-path-of-building/compare/v0.2.6...HEAD [0.2.6]: https://github.com/meehl/rusty-path-of-building/compare/v0.2.5...v0.2.6 [0.2.5]: https://github.com/meehl/rusty-path-of-building/compare/v0.2.4...v0.2.5 [0.2.4]: https://github.com/meehl/rusty-path-of-building/compare/v0.2.3...v0.2.4 diff --git a/src/app.rs b/src/app.rs index 181a325..7708b7a 100644 --- a/src/app.rs +++ b/src/app.rs @@ -1,4 +1,5 @@ use crate::{ + args::Game, dpi::{ConvertToLogical, PhysicalPoint, PhysicalSize}, fonts::{FontData, FontDefinitions, Fonts}, gfx::{GraphicsContext, RenderJob}, @@ -132,6 +133,11 @@ impl ApplicationHandler for App { } }; + match Game::current() { + Game::Poe1 => window.set_title("Rusty Path of Building 1"), + Game::Poe2 => window.set_title("Rusty Path of Building 2"), + } + self.state.window.set_window(Arc::clone(&window)); self.gfx_context = match pollster::block_on(GraphicsContext::new(window)) {