Port · Parity: dark shots judged; the status shot waits out the tooltip; comments one short line
This commit is contained in:
16 files changed
+18
-18
No files matched your search
@@ -33,7 +33,7 @@ pub(crate) fn framed(ratio: f32, cx: &App) -> Div {
|
||||
frame
|
||||
}
|
||||
|
||||
/// Themed `img()` that fills the box it is given; a `Cover` crop keeps its rounded corners.
|
||||
/// Themed `img()` that fills the box it is given.
|
||||
#[derive(IntoElement)]
|
||||
pub struct Image {
|
||||
id: ElementId,
|
||||
|
||||
@@ -16,7 +16,7 @@ fn nested() -> bool {
|
||||
LAYERS.with_borrow(|layers| !layers.is_empty())
|
||||
}
|
||||
|
||||
/// Draws `child` over the page, as gpui's `deferred` does. gpui paints deferred draws by priority alone, so what is raised inside something raised is laid out and drawn last within it, under `id`: a list opened in a dialog lies over the dialog and keeps its state.
|
||||
/// Draws `child` over the page; inside a raise, last within it.
|
||||
pub fn raise(id: impl Into<ElementId>, child: impl IntoElement) -> Raised {
|
||||
let layer = Layer {
|
||||
child: child.into_any_element(),
|
||||
|
||||
Reference in new issue
Block a user