ChessPenguin 0.6.3
Some checks failed
CI / macos-build (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / check (push) Waiting to run
Release / version (push) Has been cancelled
Release / linux (push) Has been cancelled
Release / flatpak (push) Has been cancelled
Release / windows (push) Has been cancelled
Release / macos (push) Has been cancelled
Release / publish (push) Has been cancelled
Some checks failed
CI / macos-build (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / check (push) Waiting to run
Release / version (push) Has been cancelled
Release / linux (push) Has been cancelled
Release / flatpak (push) Has been cancelled
Release / windows (push) Has been cancelled
Release / macos (push) Has been cancelled
Release / publish (push) Has been cancelled
Opening index: games from a set-up position are left to the pass; exact preparation progress; quiet import notes; clearer preparation text; randomized Mega test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
4b92fa32de
commit
e11e09aa18
13 changed files with 305 additions and 67 deletions
|
|
@ -517,7 +517,7 @@ impl Library {
|
|||
ui.add_space(4.0);
|
||||
egui::ScrollArea::vertical().max_height(420.0).show(ui, |ui| {
|
||||
for n in &info.notes {
|
||||
ui.label(RichText::new(format!("⚠ {n}")).color(ui.visuals().warn_fg_color));
|
||||
ui.label(format!("• {n}"));
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
@ -838,14 +838,7 @@ impl Library {
|
|||
}
|
||||
}
|
||||
let notes = self.info.get(&path).map_or(0, |i| i.notes.len());
|
||||
if notes > 0
|
||||
&& ui
|
||||
.button(
|
||||
RichText::new(format!("⚠ {notes}")).color(ui.visuals().warn_fg_color),
|
||||
)
|
||||
.on_hover_text(tr("Import notes"))
|
||||
.clicked()
|
||||
{
|
||||
if notes > 0 && crate::widgets::notes_button(ui, notes).clicked() {
|
||||
self.notes_open = Some(path.clone());
|
||||
}
|
||||
ui.with_layout(egui::Layout::right_to_left(egui::Align::Center), |ui| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue