Commit aaf22ab7 authored by chechunchi's avatar chechunchi

format

parent 6fd15a9a
...@@ -36,7 +36,7 @@ const MsgConstructorMap: Map<string, Constructor> = new Map([ ...@@ -36,7 +36,7 @@ const MsgConstructorMap: Map<string, Constructor> = new Map([
["become_target", ygopro.StocGameMessage.MsgBecomeTarget], ["become_target", ygopro.StocGameMessage.MsgBecomeTarget],
["shuffle_deck", ygopro.StocGameMessage.MsgShuffleDeck], ["shuffle_deck", ygopro.StocGameMessage.MsgShuffleDeck],
["rock_paper_scissors", ygopro.StocGameMessage.MsgRockPaperScissors], ["rock_paper_scissors", ygopro.StocGameMessage.MsgRockPaperScissors],
["swap_grave_deck", ygopro.StocGameMessage.MsgSwapGraveDeck] ["swap_grave_deck", ygopro.StocGameMessage.MsgSwapGraveDeck],
]); ]);
export interface penetrateType { export interface penetrateType {
......
...@@ -47,6 +47,7 @@ import onMsgStart from "./start"; ...@@ -47,6 +47,7 @@ import onMsgStart from "./start";
import onMsgSummoned from "./summoned"; import onMsgSummoned from "./summoned";
import onMsgSummoning from "./summoning"; import onMsgSummoning from "./summoning";
import onMsgSwap from "./swap"; import onMsgSwap from "./swap";
import onMsgSwapGraveDeck from "./swapGraveDeck";
import onMsgToss from "./toss"; import onMsgToss from "./toss";
import onUnimplemented from "./unimplemented"; import onUnimplemented from "./unimplemented";
import onMsgUpdateCounter from "./updateCounter"; import onMsgUpdateCounter from "./updateCounter";
...@@ -54,7 +55,6 @@ import onMsgUpdateData from "./updateData"; ...@@ -54,7 +55,6 @@ import onMsgUpdateData from "./updateData";
import onMsgUpdateHp from "./updateHp"; import onMsgUpdateHp from "./updateHp";
import onMsgWait from "./wait"; import onMsgWait from "./wait";
import onMsgWin from "./win"; import onMsgWin from "./win";
import onMsgSwapGraveDeck from "./swapGraveDeck";
const ActiveList = [ const ActiveList = [
"select_idle_cmd", "select_idle_cmd",
......
...@@ -2,7 +2,7 @@ import { ygopro } from "@/api"; ...@@ -2,7 +2,7 @@ import { ygopro } from "@/api";
import { eventbus, Task } from "@/infra"; import { eventbus, Task } from "@/infra";
import { cardStore } from "@/stores"; import { cardStore } from "@/stores";
import MsgSwapGraveDeck = ygopro.StocGameMessage.MsgSwapGraveDeck; import MsgSwapGraveDeck = ygopro.StocGameMessage.MsgSwapGraveDeck;
const {DECK, GRAVE} = ygopro.CardZone; const { DECK, GRAVE } = ygopro.CardZone;
export default async (swapGraveDeck: MsgSwapGraveDeck) => { export default async (swapGraveDeck: MsgSwapGraveDeck) => {
const player = swapGraveDeck.player; const player = swapGraveDeck.player;
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
top: 0; top: 0;
left: 0; left: 0;
height: 100vh; // FIXME: 100% on safari height: 100vh; // FIXME: 100% on safari
display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
padding: 20px 35px; padding: 20px 35px;
......
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