From aa1243850b05ca2825efa29421a44f71025356e5 Mon Sep 17 00:00:00 2001 From: jocs Date: Fri, 1 Mar 2024 10:56:02 +0800 Subject: [PATCH] fix: double click to selection also need to share cursor --- .../src/components/docs/text-selection-render-manager.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/engine-render/src/components/docs/text-selection-render-manager.ts b/packages/engine-render/src/components/docs/text-selection-render-manager.ts index 747df2f94d1..0878a90301e 100644 --- a/packages/engine-render/src/components/docs/text-selection-render-manager.ts +++ b/packages/engine-render/src/components/docs/text-selection-render-manager.ts @@ -423,7 +423,7 @@ export class TextSelectionRenderManager extends RxDisposable implements ITextSel }, ]; - this.addTextRanges(textRanges); + this.addTextRanges(textRanges, false); } } @@ -456,7 +456,7 @@ export class TextSelectionRenderManager extends RxDisposable implements ITextSel }, ]; - this.addTextRanges(textRanges); + this.addTextRanges(textRanges, false); } // Handle pointer down.