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

Add Event::Key::repeat that is set to true if the event is a repeat (#2435)

* Add `Event::Key::repeat` that is set to `true` if the event is a repeat

* Update changelog

* Improve docstring
This commit is contained in:
Emil Ernerfeldt
2022-12-12 15:37:42 +01:00
committed by GitHub
parent cb77458f70
commit 7a658e3ddb
7 changed files with 29 additions and 10 deletions

View File

@@ -5,6 +5,8 @@ NOTE: [`epaint`](crates/epaint/CHANGELOG.md), [`eframe`](crates/eframe/CHANGELOG
## Unreleased
### Added ⭐
* `Event::Key` now has a `repeat` field that is set to `true` if the event was the result of a key-repeat ([#2435](https://github.com/emilk/egui/pull/2435)).
## 0.20.1 - 2022-12-11 - Fix key-repeat