Files
oak-gpui/crates
Antonio Scandurra 200e36311c Intersect content mask with hitbox bounds only during hit test (#10554)
This fixes a bug that caused the editor to be rendered incorrectly when
its bounds extended outside the content mask. This is because the editor
uses the returned `Hitbox` bounds to determine the origin of its
elements.

With this commit, we will now store a new `content_mask` field within
the `Hitbox` struct which is captured when the hitbox is inserted. Then,
the content mask is applied on the fly when performing a hit test to
determine whether the hitbox is actually hovered.

Release Notes:

- N/A
2024-04-15 15:09:15 +02:00
..
2024-04-11 15:36:35 -06:00
2024-04-12 11:40:59 -06:00
2024-04-11 15:36:35 -06:00
2024-04-15 14:21:52 +02:00
2024-04-15 14:21:52 +02:00
2024-04-11 23:09:12 +02:00
2024-04-12 14:39:27 -04:00
2024-03-28 18:32:11 +01:00
2024-04-11 15:36:35 -06:00
2024-04-11 23:09:12 +02:00
2024-03-20 15:52:02 +01:00
2024-04-11 15:36:35 -06:00
2024-04-11 23:09:12 +02:00
2024-03-11 10:45:57 +01:00
2024-04-15 14:21:52 +02:00
2024-04-11 23:09:12 +02:00
2024-04-06 19:48:11 -07:00
2024-04-11 23:09:12 +02:00
2024-03-26 16:10:09 -07:00
2024-04-12 11:40:59 -06:00
2024-04-12 11:40:59 -06:00
2024-04-15 14:21:52 +02:00
2024-04-12 11:40:59 -06:00
2024-03-14 17:05:07 -04:00
2024-04-11 23:09:12 +02:00
2024-04-15 14:21:52 +02:00
2024-04-15 14:21:52 +02:00
2024-04-11 10:03:36 -04:00
2024-04-12 11:40:59 -06:00
2024-04-11 23:07:29 -06:00
2024-04-11 23:09:12 +02:00
2024-04-11 15:36:35 -06:00