Skip to content

Commit

Permalink
fix: recompute use default mode
Browse files Browse the repository at this point in the history
  • Loading branch information
bytemain committed Jul 5, 2024
1 parent c6be2a1 commit 10f5c02
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export class LiveInlineDiffPreviewer extends BaseInlineDiffPreviewer<InlineStrea
return Position.lift({ lineNumber: Math.max(0, zone.startLineNumber - 1), column: 1 });
}
setValue(content: string): void {
const diffModel = this.node.recompute(EComputerMode.legacy, content);
const diffModel = this.node.recompute(EComputerMode.default, content);
this.node.readyRender(diffModel);
}
handleAction(action: EResultKind): void {
Expand Down

0 comments on commit 10f5c02

Please sign in to comment.