Port · Parity: dark shots judged; the status shot waits out the tooltip; comments one short line

This commit is contained in:
ZacharyZhang-NY committed 2026-09-29 18:18:05 -04:00
1 parent d7272e88bd
commit 007ed30d4a
16 files changed
+18 -18

No files matched your search

+1 -1
View File
@@ -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,
+1 -1
View File
@@ -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(),