diff --git a/Cargo.lock b/Cargo.lock index 43f0d89282f..4ada5e167ec 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1218,7 +1218,7 @@ dependencies = [ [[package]] name = "eframe" -version = "0.21.0" +version = "0.21.1" dependencies = [ "bytemuck", "dark-light", @@ -1279,7 +1279,7 @@ dependencies = [ [[package]] name = "egui-winit" -version = "0.21.0" +version = "0.21.1" dependencies = [ "accesskit_winit", "android-activity", diff --git a/crates/eframe/CHANGELOG.md b/crates/eframe/CHANGELOG.md index 56a370c6dc2..b492cf7fe4d 100644 --- a/crates/eframe/CHANGELOG.md +++ b/crates/eframe/CHANGELOG.md @@ -7,6 +7,10 @@ NOTE: [`egui-winit`](../egui-winit/CHANGELOG.md), [`egui_glium`](../egui_glium/C ## Unreleased +## 0.21.1 - 2023-02-12 +* Fixed crash when native window position is in an invalid state, which could happen e.g. due to changes in monitor size or DPI ([#2722](https://github.com/emilk/egui/issues/2722)). + + ## 0.21.0 - 2023-02-08 - Update to `winit` 0.28 * ⚠️ BREAKING: `App::clear_color` now expects you to return a raw float array ([#2666](https://github.com/emilk/egui/pull/2666)). * The `screen_reader` feature has now been renamed `web_screen_reader` and only work on web. On other platforms, use the `accesskit` feature flag instead ([#2669](https://github.com/emilk/egui/pull/2669)). diff --git a/crates/eframe/Cargo.toml b/crates/eframe/Cargo.toml index e1886d0f215..c0b20ea6ecd 100644 --- a/crates/eframe/Cargo.toml +++ b/crates/eframe/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "eframe" -version = "0.21.0" +version = "0.21.1" authors = ["Emil Ernerfeldt "] description = "egui framework - write GUI apps that compiles to web and/or natively" edition = "2021" @@ -87,7 +87,7 @@ serde = { version = "1", optional = true, features = ["derive"] } # ------------------------------------------- # native: [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -egui-winit = { version = "0.21.0", path = "../egui-winit", default-features = false, features = [ +egui-winit = { version = "0.21.1", path = "../egui-winit", default-features = false, features = [ "clipboard", "links", ] } diff --git a/crates/egui-winit/CHANGELOG.md b/crates/egui-winit/CHANGELOG.md index 8d8e3ba4d06..0510d4967d4 100644 --- a/crates/egui-winit/CHANGELOG.md +++ b/crates/egui-winit/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to the `egui-winit` integration will be noted in this file. ## Unreleased +## 0.21.1 - 2023-02-12 +* Fixed crash when window position is in an invalid state, which could happen e.g. due to changes in monitor size or DPI ([#2722](https://github.com/emilk/egui/issues/2722)). + + ## 0.21.0 - 2023-02-08 * Fixed persistence of native window position on Windows OS ([#2583](https://github.com/emilk/egui/issues/2583)). * Update to `winit` 0.28, adding support for mac trackpad zoom ([#2654](https://github.com/emilk/egui/pull/2654)). diff --git a/crates/egui-winit/Cargo.toml b/crates/egui-winit/Cargo.toml index 4bf64e35fca..90562389576 100644 --- a/crates/egui-winit/Cargo.toml +++ b/crates/egui-winit/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "egui-winit" -version = "0.21.0" +version = "0.21.1" authors = ["Emil Ernerfeldt "] description = "Bindings for using egui with winit" edition = "2021" diff --git a/crates/egui_glium/Cargo.toml b/crates/egui_glium/Cargo.toml index 3115094999b..bc36fb32866 100644 --- a/crates/egui_glium/Cargo.toml +++ b/crates/egui_glium/Cargo.toml @@ -39,7 +39,7 @@ links = ["egui-winit/links"] egui = { version = "0.21.0", path = "../egui", default-features = false, features = [ "bytemuck", ] } -egui-winit = { version = "0.21.0", path = "../egui-winit", default-features = false } +egui-winit = { version = "0.21.1", path = "../egui-winit", default-features = false } ahash = { version = "0.8.1", default-features = false, features = [ "no-rng", # we don't need DOS-protection, so we let users opt-in to it instead diff --git a/crates/egui_glow/Cargo.toml b/crates/egui_glow/Cargo.toml index 69c469f9df6..800f1142a57 100644 --- a/crates/egui_glow/Cargo.toml +++ b/crates/egui_glow/Cargo.toml @@ -59,7 +59,7 @@ document-features = { version = "0.2", optional = true } # Native: [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -egui-winit = { version = "0.21.0", path = "../egui-winit", optional = true, default-features = false } +egui-winit = { version = "0.21.1", path = "../egui-winit", optional = true, default-features = false } puffin = { version = "0.14", optional = true } # Web: