diff --git a/src/client/EditorHost.tsx b/src/client/EditorHost.tsx index 9db60cf9d..d1157bb6d 100644 --- a/src/client/EditorHost.tsx +++ b/src/client/EditorHost.tsx @@ -436,7 +436,13 @@ export function EditorHost(props: { {saveLabel !== '' && ( {saveLabel} )} - {toolbar !== null && ( + {/* Manual refresh is NOT toolbar-gated: viewers without a hoisted + toolbar (pdf / image / binary-download) see it too, so an on-disk + change to e.g. a PDF is one click away (issue #167 extends to every + file tab). The 'loading' pass unmounts the current viewer and the + fresh 'ready' pass remounts it, so even viewers that re-fetch by + path (PdfView) pick up the new bytes. */} + {!showEmpty && (