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
@@ -403,7 +403,7 @@ fn effects_keep_their_content_and_let_presses_through(cx: &mut TestAppContext) {
assert_eq!(view.read_with(cx, |effects, _| effects.presses), 1);
}
/// Rows rising in, in a sized box down a column that fills a row.
/// Rows rising in a sized box.
struct Rising;
impl Render for Rising {
+1 -1
View File
@@ -63,7 +63,7 @@ pub(super) fn arrive<E: Styled>(element: E, entrance: Entrance, t: f32) -> E {
let t = ease_out_cubic(t);
match entrance {
Entrance::Fade => element.opacity(t),
// Padding, as taffy's size cache drops a margin that collapses through a block.
// Padding: taffy's size cache drops a collapsed margin.
Entrance::Rise => element.opacity(t).pt(NUDGE * 2.0 * (1.0 - t)),
Entrance::Slide => element.opacity(t).ml(NUDGE * -4.0 * (1.0 - t)),
}