diff --git a/packages/web/src/Board.svelte b/packages/web/src/Board.svelte index 44f14df..1a68b1f 100644 --- a/packages/web/src/Board.svelte +++ b/packages/web/src/Board.svelte @@ -543,14 +543,6 @@ {@const cx = p.position.x * CELL + CELL / 2 + (group.length > 1 ? (gi - (group.length - 1) / 2) * 14 : 0)} {@const cy = p.position.y * CELL + CELL * 0.36} - {#if povFacing && p.id === view.you} - {@const fr = CELL * 0.34} - {@const fa = povFacing === "E" ? 0 : povFacing === "S" ? Math.PI / 2 : povFacing === "W" ? Math.PI : -Math.PI / 2} - - {/if} { ev.stopPropagation(); if (peekFired) { peekFired = false; return; } onPlayerClick?.(p.id); }} @@ -600,6 +592,15 @@ {/if} {/if} + {#if povFacing && p.id === view.you} + {@const fa = povFacing === "E" ? 0 : povFacing === "S" ? Math.PI / 2 : povFacing === "W" ? Math.PI : -Math.PI / 2} + {@const tipX = Math.cos(fa) * CELL * 0.52} + {@const tipY = Math.sin(fa) * CELL * 0.52} + + {/if} {/each} @@ -779,7 +780,9 @@ } .pov-wedge { fill: #c9a72a; - opacity: 0.85; + stroke: #43331f; + stroke-width: 1.2; + opacity: 0.95; pointer-events: none; } .peekable { cursor: pointer; pointer-events: all; }