Files
oak-gpui/crates/gpui/src/elements/mod.rs
T
Bennet Bo FennerandAntonio 77f1cc95b8 gpui: Rework overlay element (#9911)
There was a problem using deferred draws with `overlay` and tooltips at
the same time.

The `overlay` element was removed and was split up into two separate
elements
- `deferred`
- `anchored` - Mimics the `overlay` behavior but does not render its
children as deferred

`tooltip_container` does not defer its drawing anymore and only uses
`anchored`.

/cc @as-cii 


Release Notes:
- Fixed tooltip for the recent projects popover not showing anymore

---------

Co-authored-by: Antonio <antonio@zed.dev>
2024-03-29 16:26:16 +01:00

22 lines
311 B
Rust

mod anchored;
mod animation;
mod canvas;
mod deferred;
mod div;
mod img;
mod list;
mod svg;
mod text;
mod uniform_list;
pub use anchored::*;
pub use animation::*;
pub use canvas::*;
pub use deferred::*;
pub use div::*;
pub use img::*;
pub use list::*;
pub use svg::*;
pub use text::*;
pub use uniform_list::*;