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

Check if TextEdit lost keyboard focus with response.lost_kb_focus

This commit is contained in:
Emil Ernerfeldt
2020-11-09 18:42:54 +01:00
parent c999ed038a
commit d2b5730784
6 changed files with 64 additions and 13 deletions

View File

@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## Unreleased
### Added ⭐
* You can now check if a `TextEdit` lost keyboard focus with `response.lost_kb_focus`.
### Changed 🔧
* Pressing enter in a single-line `TextEdit` will now surrender keyboard focus for it