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 Pass visible bounds to Element::dispatch_event 2022-04-07 15:10:09 +02:00
grammars/context-predicate Use Rust 2021 edition in all crates 2022-01-26 12:50:31 -08:00
src Calculate hitbox based on visible bounds in {Mouse}EventHandler 2022-04-07 15:12:09 +02:00
build.rs Move all crates to a top-level crates folder 2021-10-04 13:22:21 -06:00
Cargo.toml Send websocket pings from both the client and the server 2022-03-04 15:21:18 -08:00