mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 08:30:42 +02:00
fix: Alt 点击列表项块标之后,折叠块标的方向需要根据列表项的折叠状态变化 (#13978)
fix https://github.com/siyuan-note/siyuan/issues/13955
This commit is contained in:
parent
3f0ec1630a
commit
aa43b29a4f
1 changed files with 2 additions and 0 deletions
|
@ -204,6 +204,7 @@ export class Gutter {
|
|||
}
|
||||
}
|
||||
});
|
||||
buttonElement.parentElement.querySelector("[data-type='fold'] > svg")?.setAttribute("style", `width: 10px${hasFold ? ";transform:rotate(90deg)" : ""}`);
|
||||
const doOperations: IOperation[] = [];
|
||||
const undoOperations: IOperation[] = [];
|
||||
Array.from(foldElement.children).forEach((ulElement) => {
|
||||
|
@ -352,6 +353,7 @@ export class Gutter {
|
|||
}
|
||||
}
|
||||
});
|
||||
buttonElement.parentElement.querySelector("[data-type='fold'] > svg")?.setAttribute("style", `width: 10px${hasFold ? ";transform: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