@@ -1849,6 +1541,7 @@
history.push(b.move);
history = history;
}}
+ oncontextmenu={(e) => openContextMenu(e, movePathStr)}
>
-
{gamesCount} games
-
-
-
-
-
- {#if currentTag}
-
- {/if}
-
+
+
+ {gamesCount} games
@@ -1931,38 +1594,50 @@
{/if}
-
-
-
Position Note
-
- {#if history.length > 0}
- After {lineStr}
- {:else}
- —
- {/if}
-
+ {#if showNoteEdit}
+
+
+
+ Position Note
+
+ {#if history.length > 0}
+ After {lineStr}
+ {:else}
+ —
+ {/if}
+
+
+
+
+
+
+
+
-
-
-
-
-
+ {/if}
{#if transpositions.length > 0}
@@ -1990,72 +1665,52 @@
{/if}
-
-
-
-
Repertoire Status
-
- {#if history.length === 0}
- No moves played
- {:else if repStatus.isExact}
-
- In Repertoire
-
- {repStatus.name}
- {:else if repStatus.isContinuation}
-
- {repStatus.parentName} Cont...
-
- {:else}
-
- Not in Repertoire
-
- {/if}
-
-
-
- {#if history.length > 0 || activeOpening}
-
- {#if activeOpening}
-
- {/if}
+
+ {#if history.length > 0 || activeOpening}
+
+ {#if activeOpening && lineStr !== activeOpening.pgn}
+
+ {:else if repStatus.isContinuation}
+
+ {/if}
+
+ {#if history.length > 0 && !repStatus.isExact}
+
+ {/if}
- {#if activeOpening && lineStr !== activeOpening.pgn}
-
- {:else if repStatus.isContinuation}
-
- {/if}
-
- {#if history.length > 0 && !repStatus.isExact}
-
- {/if}
-
- {/if}
-
+ {#if activeOpening}
+
+ {/if}
+
+ {/if}
{:else if currentTab === 'openings'}
@@ -2267,3 +1922,44 @@