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)