1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 12:50:04 -04:00
Files
egui/crates
Antoine Beyeler 0e1bcc2c1c 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 09:07:33 +01:00
..
2024-02-11 09:03:09 +01:00
2024-02-11 09:03:09 +01:00
2024-02-11 09:03:09 +01:00
2023-04-18 15:52:45 +02:00
2024-02-11 09:03:09 +01:00
2024-02-11 09:03:09 +01:00