1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 22:00:03 -04:00

Add response.interact(sense), e.g. to check for clicks on labels

This commit is contained in:
Emil Ernerfeldt
2020-12-26 22:05:56 +01:00
parent de614153b5
commit db3fdbe6d3
6 changed files with 78 additions and 26 deletions

View File

@@ -21,6 +21,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
* Add `egui::math::Rot2`: rotation helper.
* `Response` now contains the `Id` of the widget it pertains to.
* `ui.allocate_response` that allocates space and checks for interactions.
* Add response.interact(sense), e.g. to check for clicks on labels.
### Changed 🔧