Commit 94d5f901 authored by timel's avatar timel

style: rename NewPlayMat to PlayMat

parent b31c944e
Pipeline #21962 passed with stages
in 19 minutes and 19 seconds
......@@ -13,14 +13,12 @@ import {
SortCardModal,
YesNoModal,
} from "./Message";
import { LifeBar, Mat, Menu } from "./NewPlayMat";
import { LifeBar, Mat, Menu } from "./PlayMat";
const NeosDuel = () => {
return (
<>
<Alert />
{/* <Test /> */}
{/* <Mat /> */}
<Menu />
<LifeBar />
<Mat />
......
......@@ -79,10 +79,11 @@ export const Card: FC<{ idx: number }> = React.memo(({ idx }) => {
}
});
// TODO:测试和改bug
eventBus.on(Report.Chaining, (uuid: string) => {
if (uuid === state.uuid) {
const p = chaining({ card: state, api });
animation = animation ? animation.then(() => p) : p;
// const p = chaining({ card: state, api });
// animation = animation ? animation.then(() => p) : p;
}
});
......
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