Skip to content

Commit

Permalink
Merge pull request lichess-org#16615 from yahya-lafhal/opening-explor…
Browse files Browse the repository at this point in the history
…er-default-color

Set the default opening explorer color to the player's played color
  • Loading branch information
ornicar authored Dec 17, 2024
2 parents c3c8b0e + 654d7af commit 6a20cbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/analyse/src/explorer/explorerConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class ExplorerConfigCtrl {
value: storedStringProp('analyse.explorer.player.name', this.myName || ''),
previous: storedJsonProp<string[]>('explorer.player.name.previous', () => []),
},
color: prevData?.color || prop('white'),
color: prevData?.color || prop(root.bottomColor()),
byDb() {
return this.byDbData[this.db()] || this.byDbData.lichess;
},
Expand Down

0 comments on commit 6a20cbd

Please sign in to comment.