diff --git a/frontend/app/components/parts/AnimatedBackground.vue b/frontend/app/components/parts/AnimatedBackground.vue index ba2e791..db3b04e 100644 --- a/frontend/app/components/parts/AnimatedBackground.vue +++ b/frontend/app/components/parts/AnimatedBackground.vue @@ -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) { 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) } diff --git a/frontend/app/components/widgets/Place.vue b/frontend/app/components/widgets/Place.vue index 27de5df..52681f7 100644 --- a/frontend/app/components/widgets/Place.vue +++ b/frontend/app/components/widgets/Place.vue @@ -71,8 +71,8 @@ const palette = [ ] const colorMap = ref({}) -const selectedColor = ref(palette[0]) -const selectedColorId = ref(0) +const selectedColor = ref(null) +const selectedColorId = ref(null) const { get, post } = useApi(); const { initSocket, onGridCellPaint, removeGridCellPaintListener } = useSocket();