Search board: number every continuation, not only the first nine
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
131e4b62fb
commit
99264f3d24
2 changed files with 9 additions and 9 deletions
|
|
@ -10,6 +10,7 @@ All notable changes are listed here. Versions follow [Semantic Versioning](https
|
|||
taken from a variation; average rating of a continuation only from games with both ratings.
|
||||
- Narrow windows: the [Filters | Board] switch stays visible, conditions that do not fit become
|
||||
"+N more", columns hide by priority and the date becomes the year.
|
||||
- Continuations are numbered through the whole list (keys 1-9 still play the first nine).
|
||||
- Ctrl+Shift+Backspace clears all conditions with the position; a × removes the position in small
|
||||
databases; the cache of search results is bounded.
|
||||
|
||||
|
|
|
|||
|
|
@ -690,15 +690,14 @@ fn continuation_row(
|
|||
ui.painter()
|
||||
.text(egui::pos2(x, y), align, s, font.clone(), color);
|
||||
};
|
||||
if i < 9 {
|
||||
text(
|
||||
x,
|
||||
&(i + 1).to_string(),
|
||||
visuals.weak_text_color(),
|
||||
egui::Align2::LEFT_CENTER,
|
||||
);
|
||||
}
|
||||
x += 16.0;
|
||||
// Every row is numbered; 1-9 also play the move.
|
||||
text(
|
||||
x + 18.0,
|
||||
&(i + 1).to_string(),
|
||||
visuals.weak_text_color(),
|
||||
egui::Align2::RIGHT_CENTER,
|
||||
);
|
||||
x += 26.0;
|
||||
let label = stat
|
||||
.uci
|
||||
.to_move(pos)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue