From 38c0e0c2a5d3ce79b91e9f1bcd7622aeef34edc2 Mon Sep 17 00:00:00 2001 From: streamich Date: Tue, 12 Nov 2024 15:41:36 +0100 Subject: [PATCH] =?UTF-8?q?style:=20=F0=9F=92=84=20run=20formatter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/json-crdt-peritext-ui/dom/CursorController.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/json-crdt-peritext-ui/dom/CursorController.ts b/src/json-crdt-peritext-ui/dom/CursorController.ts index 6f52428b1c..7f231ce2a6 100644 --- a/src/json-crdt-peritext-ui/dom/CursorController.ts +++ b/src/json-crdt-peritext-ui/dom/CursorController.ts @@ -31,13 +31,12 @@ export class CursorController implements UiLifeCycles, Printable { public constructor(public readonly opts: CursorControllerOpts) { this.caretId = 'jsonjoy.com-peritext-caret-' + opts.et.id; - this._cursor = throttle(opts.et.cursor.bind(opts.et), 25) + this._cursor = throttle(opts.et.cursor.bind(opts.et), 25); } /** The position where user started to scrub the text. */ protected selAnchor: number = -1; - /** * String position at coordinate, or -1, if unknown. */