mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 17:27:08 +08:00
1 parent
47347e5364
commit
6601340fcc
1 file changed
+2
-2
@@ -11704,8 +11704,8 @@ function renderOutlines(reset = true) {
|
|||||||
state.outlineSelection = null;
|
state.outlineSelection = null;
|
||||||
}
|
}
|
||||||
const outlines = state.doc?.outlines || [];
|
const outlines = state.doc?.outlines || [];
|
||||||
el.pageListTitle.hidden = true;
|
el.pageListTitle.hidden = Boolean(state.doc);
|
||||||
el.navigationTabs.hidden = false;
|
el.navigationTabs.hidden = !state.doc;
|
||||||
el.outlinesTab.hidden = outlines.length === 0 && !state.editing;
|
el.outlinesTab.hidden = outlines.length === 0 && !state.editing;
|
||||||
el.outlineList.replaceChildren();
|
el.outlineList.replaceChildren();
|
||||||
if (state.editing) {
|
if (state.editing) {
|
||||||
|
|||||||
Reference in new issue
Block a user