From 2e533446e54cf94cd5eac4c8bb92c398229e8ca9 Mon Sep 17 00:00:00 2001 From: BinarySandia04 Date: Fri, 12 Jun 2026 00:23:38 +0200 Subject: [PATCH] Fix fix --- frontend/app/components/parts/AnimatedBackground.vue | 2 +- frontend/app/components/widgets/Place.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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();