From 9851fa1e4b5ef948702279b2e23c15bbe5ffd21b Mon Sep 17 00:00:00 2001 From: FURRO404 Date: Sun, 21 Jun 2026 07:35:22 -0700 Subject: [PATCH] how is it always wrong lmao --- frontend/src/ReplayCanvas3D.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/ReplayCanvas3D.js b/frontend/src/ReplayCanvas3D.js index 4132365..6b9e835 100644 --- a/frontend/src/ReplayCanvas3D.js +++ b/frontend/src/ReplayCanvas3D.js @@ -489,7 +489,7 @@ export default class ReplayCanvas3D { const value = THREE.MathUtils.clamp(this._captureValueAt(zone, this.currentT), -100, 100) const amount = Math.abs(value) / 100 fill.visible = value !== 0 - fill.material.color.set(value > 0 ? WIN_COLOR : value < 0 ? LOSE_COLOR : 0xd8dee9) + fill.material.color.set(value > 0 ? LOSE_COLOR : value < 0 ? WIN_COLOR : 0xd8dee9) fill.material.opacity = value === 0 ? 0 : 0.18 + amount * 0.34 const s = value === 0 ? 0 : Math.sqrt(amount) fill.scale.set(s, s, 1)