Skip to content

Commit

Permalink
don't select single cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfig committed Dec 23, 2024
1 parent 0ab7136 commit 30c82db
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion quadratic-client/src/app/gridGL/UI/Cursor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,10 @@ export class Cursor extends Container {
const { cursor } = sheet;

this.startCell = sheet.getCellOffsets(cursor.position.x, cursor.position.y);
drawFiniteSelection(this.graphics, pixiApp.accentColor, FILL_ALPHA, ranges);

if (!sheets.sheet.cursor.isSingleSelection()) {
drawFiniteSelection(this.graphics, pixiApp.accentColor, FILL_ALPHA, ranges);
}
}

private drawCursorIndicator() {
Expand Down

0 comments on commit 30c82db

Please sign in to comment.