Add PDF state persistence

This commit is contained in:
2026-03-30 09:29:19 +02:00
parent d1bb79570d
commit 4613b8e5dd
15 changed files with 380 additions and 55 deletions

View File

@@ -56,7 +56,10 @@ pub fn PubList(
);
}
}
on:click=move |_| cursor.set(i)
on:click=move |_| {
cursor.set(i);
focused.set(Pane::List);
}
on:dblclick=move |_| {
cursor.set(i);
if let Some(ctx) = open_pdf_ctx {