Panics · P21 Documents: stale block keys, cells and kinds change nothing; replaced text drops visual presses; nested images, versions and find hits hold

This commit is contained in:
ZacharyZhang-NY committed 2026-10-06 23:39:51 -04:00
1 parent 37c51874c8
commit 10788579c9
17 files changed
+565 -106

No files matched your search

+4
View File
@@ -78,6 +78,10 @@ impl FindWidget {
current: Option<usize>,
total: usize,
) -> Self {
if current.is_some_and(|current| current >= total) {
log::error!("find: match {current:?} of {total}; none current");
}
let current = current.filter(|current| *current < total);
Self {
id: id.into(),
find: find.clone(),