fix(docs/hold-tap): Update tap-preferred animation to not change color on interrupting keypress
This commit is contained in:
parent
0a81082829
commit
2e8a4353a3
1 changed files with 1 additions and 7 deletions
|
@ -28,13 +28,7 @@ export default makeScene2D(function* (view) {
|
||||||
hold.body.position.y(KeyTravel, 0.15),
|
hold.body.position.y(KeyTravel, 0.15),
|
||||||
hold.duration.grow(0.5, 1, linear)
|
hold.duration.grow(0.5, 1, linear)
|
||||||
);
|
);
|
||||||
yield* delay(
|
yield* delay(0.35, interrupt.body.position.y(KeyTravel, 0.15));
|
||||||
0.35,
|
|
||||||
all(
|
|
||||||
interrupt.body.position.y(KeyTravel, 0.15),
|
|
||||||
hold.duration.fill("F21D00", 0.15)
|
|
||||||
)
|
|
||||||
);
|
|
||||||
yield* delay(
|
yield* delay(
|
||||||
0.35,
|
0.35,
|
||||||
chain(
|
chain(
|
||||||
|
|
Loading…
Add table
Reference in a new issue