From 2e8a4353a3c8dcf1442f7f87e3e5b6f2699857bc Mon Sep 17 00:00:00 2001 From: Kurtis Lew <27038994+kurtis-lew@users.noreply.github.com> Date: Fri, 10 Feb 2023 15:46:23 -0800 Subject: [PATCH] fix(docs/hold-tap): Update tap-preferred animation to not change color on interrupting keypress --- .../hold_tap/tap_preferred/tap_preferred_hold_tap_up.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/docs/src/animationhelpers/src/scenes/hold_tap/tap_preferred/tap_preferred_hold_tap_up.tsx b/docs/src/animationhelpers/src/scenes/hold_tap/tap_preferred/tap_preferred_hold_tap_up.tsx index d60449fe..fb61a616 100644 --- a/docs/src/animationhelpers/src/scenes/hold_tap/tap_preferred/tap_preferred_hold_tap_up.tsx +++ b/docs/src/animationhelpers/src/scenes/hold_tap/tap_preferred/tap_preferred_hold_tap_up.tsx @@ -28,13 +28,7 @@ export default makeScene2D(function* (view) { hold.body.position.y(KeyTravel, 0.15), hold.duration.grow(0.5, 1, linear) ); - yield* delay( - 0.35, - all( - interrupt.body.position.y(KeyTravel, 0.15), - hold.duration.fill("F21D00", 0.15) - ) - ); + yield* delay(0.35, interrupt.body.position.y(KeyTravel, 0.15)); yield* delay( 0.35, chain(