Files
oak-gpui/crates
Thorsten Ball ad03a7e72c Remove tooltips on scroll wheel events (#10069)
This fixes #9928 by invalidating the tooltip on mouse scroll.

I think _ideally_ we'd have a solution that only invalidates it if,
after mouse scroll, we're not hovering over the element. But I tried
that (by essentially duplicating the code for `MouseMoveEvent` but that
lead to some inconsistencies. I think we don't redraw when we finish
scrolling.

This now behaves exactly like tooltips in Chrome: invalidate on scroll,
move mouse again to trigger the tooltip.

It also behaves like the hover tooltips in the editor.


https://github.com/zed-industries/zed/assets/1185253/05b9170e-414c-4453-84e5-90510b943c15


Release Notes:

- N/A
2024-04-02 14:10:51 +02:00
..
2024-03-29 21:12:47 -04:00
2024-03-28 18:32:11 +01:00
2024-03-29 13:17:48 -04:00
2024-03-20 15:52:02 +01:00
2024-03-11 10:45:57 +01:00
2024-03-11 10:45:57 +01:00
2024-03-26 16:10:09 -07:00
2024-04-01 16:30:14 -06:00
2024-04-01 17:22:59 -07:00
2024-03-28 18:32:11 +01:00
2024-03-14 17:05:07 -04:00
2024-03-28 18:32:11 +01:00
2024-04-01 17:22:59 -07:00