mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 15:58:49 +01:00
This commit is contained in:
parent
f50d753d05
commit
f62de94887
1 changed files with 1 additions and 1 deletions
|
|
@ -1286,7 +1286,7 @@ export const transaction = (protyle: IProtyle, doOperations: IOperation[], undoO
|
|||
window.clearTimeout(transactionsTimeout);
|
||||
// 加速折叠 https://github.com/siyuan-note/siyuan/issues/11828
|
||||
if (doOperations.length === 1 && (
|
||||
doOperations[0].action === "unfoldHeading" ||
|
||||
doOperations[0].action === "unfoldHeading" || doOperations[0].action === "setAttrViewBlockView" ||
|
||||
(doOperations[0].action === "setAttrs" && doOperations[0].data.startsWith('{"fold":'))
|
||||
)) {
|
||||
// 防止 needDebounce 为 true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue