1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-28 07:23:13 -04:00
Files
egui/crates
Antoine Beyeler 1ce4f05472 Avoid interacting twice when not required (#4041)
This PR short-circuits `Response::interact()` when the `Response` has
already been sufficiently "sensed" already. In some circumstance, this
can avoid unnecessarily registering another widget rect that may mask
some other widget.

One such instance is Rerun's `ListItem`. Calling `context_menu()` on its
response would call `interact` and, in turn, mask its sub-widget
(collapsing triangle, show/hide buttons, etc.).
2024-02-14 10:40:24 +01:00
..
2024-02-11 08:59:02 +01:00
2024-02-11 08:59:02 +01:00
2024-02-11 08:59:02 +01:00
2023-04-18 15:52:45 +02:00
2024-02-11 08:59:02 +01:00
2024-02-11 08:59:02 +01:00