This commit is contained in:
Vanessa 2024-09-27 09:05:35 +08:00
parent a9cf3c5f5b
commit 273b55dbf8

View file

@ -594,7 +594,7 @@ export class Dock {
type: "pin",
tab,
blockId: editor?.protyle?.block?.rootID,
isPreview: editor?.protyle?.preview ? editor.protyle.preview.element.classList.contains("fn__none") : false
isPreview: editor?.protyle?.preview ? !editor.protyle.preview.element.classList.contains("fn__none") : false
});
if (editor?.protyle?.title?.editElement) {
outline.updateDocTitle(editor.protyle?.background?.ial);