Fix fix
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 29s

This commit is contained in:
2026-06-12 00:23:38 +02:00
parent 8c49400b86
commit 2e533446e5
2 changed files with 3 additions and 3 deletions

View File

@@ -115,7 +115,7 @@ function drawTuiParticle(x: number, y: number, size: number, r: number, g: numbe
function drawBgParticle(x: number, y: number, size: number, r: number, g: number, b: number) { function drawBgParticle(x: number, y: number, size: number, r: number, g: number, b: number) {
if (!ctx) return if (!ctx) return
ctx.fillStyle = `rgba(${r},${g},${b},0.3)` ctx.fillStyle = `rgba(${r},${g},${b},0.7)`
ctx.fillRect(Math.round(x - size / 2), Math.round(y - size / 2), size, size) ctx.fillRect(Math.round(x - size / 2), Math.round(y - size / 2), size, size)
} }

View File

@@ -71,8 +71,8 @@ const palette = [
] ]
const colorMap = ref({}) const colorMap = ref({})
const selectedColor = ref(palette[0]) const selectedColor = ref(null)
const selectedColorId = ref(0) const selectedColorId = ref(null)
const { get, post } = useApi(); const { get, post } = useApi();
const { initSocket, onGridCellPaint, removeGridCellPaintListener } = useSocket(); const { initSocket, onGridCellPaint, removeGridCellPaintListener } = useSocket();