Files
zed/crates
Kirill Bulatov c11bde7bf4 Remove stuck tooltips (#22548)
Closes https://github.com/zed-industries/zed/issues/21657

Follow-up of https://github.com/zed-industries/zed/pull/22488
Previous PR broke git blame tooltips, which are expected to be open when
hovered, even if the mouse cursor is moved away from the actual blame
entry that caused the tooltip to appear.

Current version moves the invalidation logic into `prepaint_tooltip`,
where the new data about the tooltip origin is used to ensure we
invalidate only tooltips that have no mouse cursor in either origin
bounds or tooltip bounds (if it's hoverable).


Release Notes:

- Fixed tooltips getting stuck
2025-01-01 18:47:10 +00:00
..
2024-12-17 22:16:59 -07:00
2024-04-30 23:31:59 -06:00
2025-01-01 18:47:10 +00:00
2024-03-11 10:45:57 +01:00
2024-12-13 14:23:02 -05:00
2024-11-18 22:56:34 +01:00
2024-12-03 23:22:26 -05:00
2025-01-01 12:31:37 -05:00