Files
oak-gpui/crates
Antonio ScandurraandNathan Sobo 6a7761e620 Merge ElementContext into WindowContext (#10979)
The new `ElementContext` was originally introduced to ensure the element
APIs could only be used inside of elements. Unfortunately, there were
many places where some of those APIs needed to be used, so
`WindowContext::with_element_context` was introduced, which defeated the
original safety purposes of having a specific context for elements.

This pull request merges `ElementContext` into `WindowContext` and adds
(debug) runtime checks to APIs that can only be used during certain
phases of element drawing.

Release Notes:

- N/A

---------

Co-authored-by: Nathan Sobo <nathan@zed.dev>
2024-04-25 12:54:39 +02:00
..
2024-04-23 15:33:09 -06:00
2024-04-23 15:33:09 -06:00
2024-04-23 13:31:21 -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 23:09:12 +02:00
2024-03-26 16:10:09 -07:00
2024-04-23 15:33:09 -06:00
2024-04-23 15:33:09 -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-11 23:09:12 +02:00