Commit 803df485 authored by Chunchi Che's avatar Chunchi Che

format

parent c65739fa
Pipeline #25727 passed with stages
in 14 minutes and 15 seconds
import { easings } from "@react-spring/web";
import { ygopro } from "@/api";
import { isMe } from "@/stores";
import { matConfig } from "@/ui/Shared";
......
......@@ -35,7 +35,7 @@ export const moveToOutside: MoveFunc = async (props) => {
api.set({
z: 0,
subZ: 100,
})
});
await asyncStart(api)({
x,
y,
......
......@@ -22,11 +22,11 @@ export interface SpringApiProps {
subZ: number; // 0 -> 100,这是为了让卡片移动过程中,稍微上浮一些,避免一些奇怪的遮挡问题
config?: Partial<{
mass: number,
tension: number,
friction: number,
clamp: boolean
}>
mass: number;
tension: number;
friction: number;
clamp: boolean;
}>;
}
export type SpringApi = SpringRef<SpringApiProps>;
......
import classNames from "classnames";
import { CSSProperties, useMemo, useEffect, useState } from "react";
import { CSSProperties, useEffect, useState } from "react";
import { useConfig } from "@/config";
import { isSuperReleaseCard } from "@/superPreRelease";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment