Skip to content

Commit 7fffcd2

Browse files
committed
♻️
1 parent 0026a07 commit 7fffcd2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/protyle/undo/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export class Undo {
2727

2828
// renderLocal 仅在发起窗口本地应用操作(isUndo=true),不 POST 到 kernel
2929
// (kernel 的 undo/redo 接口已执行事务并广播)。保留光标恢复/折叠/zoom/lastHTMLs 行为。
30-
public renderLocal(protyle: IProtyle, operations: IOperation[], _isRedo: boolean) {
30+
public renderLocal(protyle: IProtyle, operations: IOperation[]) {
3131
hideElements(["hint", "gutter"], protyle);
3232
protyle.wysiwyg.lastHTMLs = {};
3333
for (let i = operations.length - 1; i >= 0; i--) {

0 commit comments

Comments
 (0)