Skip to content

Commit

Permalink
Release egui-winit, eframe 0.21.1 - fix crash on monitor size/dpi change
Browse files Browse the repository at this point in the history
emilk/egui#2722

The crash could happen if the monitor size or DPI changes between runs
  • Loading branch information
emilk committed Feb 12, 2023
1 parent 4eaf1e8 commit dcc4b9d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)).
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "egui-winit"
version = "0.21.0"
version = "0.21.1"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Bindings for using egui with winit"
edition = "2021"
Expand Down

0 comments on commit dcc4b9d

Please sign in to comment.