Insert hitbox when an interactive element can be scrolled (#9216)

Fixes https://github.com/zed-industries/zed/issues/9199


Release Notes:

- N/A
This commit is contained in:
Antonio Scandurra 2024-03-12 12:24:15 +01:00 committed by GitHub
parent d362588055
commit 0a341261d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -61,7 +61,7 @@ impl HitboxId {
/// A rectangular region that potentially blocks hitboxes inserted prior.
/// See [ElementContext::insert_hitbox] for more details.
#[derive(Clone, Debug, Eq, PartialEq, Deref)]
#[derive(Clone, Debug, Deref)]
pub struct Hitbox {
/// A unique identifier for the hitbox
pub id: HitboxId,