zed/crates/gpui
Antonio Scandurra b396909035 Calculate hitbox based on visible bounds in {Mouse}EventHandler
This is in contrast to not dispatching the event altogether in `Flex` when
the event is not contained in the flex element bounds. That approach was
problematic because it didn't give an opportunity to `MouseEventHandler`s
to handle mouse move events when they didn't intersect with the element bounds,
causing elements to never clear their hover state, cursor style, etc.
2022-04-07 15:12:09 +02:00
..
examples
grammars/context-predicate
src Calculate hitbox based on visible bounds in {Mouse}EventHandler 2022-04-07 15:12:09 +02:00
build.rs
Cargo.toml