- {#each (local.active ? local.log : net.log).slice(-60) as line, i (i)}
-
{line}
- {/each}
+ {#if local.active}
+ {#each local.log.slice(-60) as line, i (i)}
+
{line}
+ {/each}
+ {:else}
+ {#each net.log.slice(-60) as line, i (i)}
+
+ {line.text}
+ {#if line.notable && line.turn !== null && prefs.instantReplay && !net.spectating}
+
+ {/if}
+
+ {/each}
+ {/if}
{#if local.active && local.viewerId}
@@ -2892,6 +2911,15 @@
box-shadow: 0 2px 7px rgba(0, 0, 0, 0.45);
}
.chronicle div + div { margin-top: 0.05rem; }
+ .moment-eye {
+ background: none;
+ border: none;
+ cursor: pointer;
+ font-size: 0.7rem;
+ padding: 0 0.15rem;
+ opacity: 0.55;
+ }
+ .moment-eye:hover { opacity: 1; }
.table-edge {
margin-top: 0.9rem;
diff --git a/packages/web/src/Replay.svelte b/packages/web/src/Replay.svelte
index 2bc9783..46b93bd 100644
--- a/packages/web/src/Replay.svelte
+++ b/packages/web/src/Replay.svelte
@@ -1,6 +1,7 @@