Automatically reset cursor style when hit test changes (#9289)

Release Notes:

- N/A

Co-authored-by: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra 2024-03-13 17:21:25 +01:00 committed by GitHub
parent 7f0e373358
commit 139bb3275a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 22 additions and 22 deletions

View file

@ -79,7 +79,7 @@ impl Hitbox {
}
}
#[derive(Default)]
#[derive(Default, Eq, PartialEq)]
pub(crate) struct HitTest(SmallVec<[HitboxId; 8]>);
pub(crate) struct DeferredDraw {