Skip to content

Commit

Permalink
style: 💄 run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich committed Nov 12, 2024
1 parent a0dc6a2 commit 38c0e0c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/json-crdt-peritext-ui/dom/CursorController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit 38c0e0c

Please sign in to comment.