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
+1
-1
@@ -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 {
|
||||
|
||||
@@ -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)),
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user