Skip to content

Commit 273b55d

Browse files
committedSep 27, 2024
1 parent a9cf3c5 commit 273b55d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎app/src/layout/dock/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ export class Dock {
594594
type: "pin",
595595
tab,
596596
blockId: editor?.protyle?.block?.rootID,
597-
isPreview: editor?.protyle?.preview ? editor.protyle.preview.element.classList.contains("fn__none") : false
597+
isPreview: editor?.protyle?.preview ? !editor.protyle.preview.element.classList.contains("fn__none") : false
598598
});
599599
if (editor?.protyle?.title?.editElement) {
600600
outline.updateDocTitle(editor.protyle?.background?.ial);

0 commit comments

Comments
 (0)