experimental css changes

This commit is contained in:
2024-05-01 14:26:20 +02:00
parent 7536f0e3d5
commit 55c6b47767
6 changed files with 60 additions and 22 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ import type { Card } from '~/netcode/Card';
export interface Props {
data?: Card | null
data: Card | null | undefined
locked?: boolean
}
@@ -15,7 +15,7 @@ const buttonsElement = ref<HTMLElement | null>(null)
const rightClicked = ref(false)
function cardClick() {
if (props.data == null) return
if (!props.data) return
emit("click")
}