mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-07 17:28:50 +01:00
This commit is contained in:
parent
0d1a002a30
commit
d6730613df
1 changed files with 4 additions and 1 deletions
|
|
@ -376,7 +376,10 @@ export class Gutter {
|
|||
}
|
||||
}
|
||||
});
|
||||
(buttonElement.parentElement.querySelector("[data-type='fold'] > svg") as HTMLElement).style.transform = hasFold ? "rotate(90deg)" : "";
|
||||
const arrowElement = buttonElement.parentElement.querySelector("[data-type='fold'] > svg") as HTMLElement;
|
||||
if (arrowElement) {
|
||||
arrowElement.style.transform = hasFold ? "rotate(90deg)" : "";
|
||||
}
|
||||
const doOperations: IOperation[] = [];
|
||||
const undoOperations: IOperation[] = [];
|
||||
Array.from(foldElement.parentElement.children).find((listItemElement) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue