Skip to content

Commit

Permalink
Set the default opening explorer color to the player's played color
Browse files Browse the repository at this point in the history
  • Loading branch information
yahya-lafhal committed Dec 17, 2024
1 parent 063b673 commit 654d7af
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 654d7af

Please sign in to comment.