Merge remote-tracking branch 'refs/remotes/origin/main'
This commit is contained in:
commit
0c53c1e627
|
|
@ -100,9 +100,13 @@ export function ActionScreen () {
|
|||
return
|
||||
}
|
||||
|
||||
if (data.screen == "playing-card") {
|
||||
setInstruction("Press and hold a card of your choosing")
|
||||
}
|
||||
|
||||
if (data.screen == "picking-card") {
|
||||
setActionState("picking-card")
|
||||
setInstruction("Pick the funniest card.")
|
||||
setInstruction("Press and hold the funniest card.")
|
||||
setPlayedWhiteCards(new Map(Object.entries(data.cards!)))
|
||||
return
|
||||
}
|
||||
|
|
@ -158,7 +162,7 @@ export function ActionScreen () {
|
|||
sendMessage(ser(createPacket("game.action.playCard", {
|
||||
cardValue: card
|
||||
})))
|
||||
}} holdTime={500} render={(onMouseDown, onMouseUp) => (
|
||||
}} holdTime={1500} render={(onMouseDown, onMouseUp) => (
|
||||
<SizableCard onMouseDown={onMouseDown} onMouseUp={onMouseUp} size={"lg"} content={card} color={"white"} />
|
||||
)} />
|
||||
))}
|
||||
|
|
@ -172,7 +176,7 @@ export function ActionScreen () {
|
|||
sendMessage(ser(createPacket("game.action.pickCard", {
|
||||
uuid: player
|
||||
})))
|
||||
}} holdTime={500} render={(onMouseDown, onMouseUp) => (
|
||||
}} holdTime={1500} render={(onMouseDown, onMouseUp) => (
|
||||
<SizableCard onMouseDown={onMouseDown} onMouseUp={onMouseUp} size={"lg"}
|
||||
content={card} color={"white"}/>
|
||||
)}/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user