Skip to content

Commit

Permalink
context menu triggers table selection
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfig committed Feb 1, 2025
1 parent 2a5ebba commit 275ded1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ export class PointerTable {
}

if (event.button === 2 || (isMac && event.button === 0 && event.ctrlKey)) {
sheets.sheet.cursor.selectTable(tableDown.table.name, undefined, 0, false, false);
events.emit('contextMenu', {
type: tableDown.type === 'column-name' ? ContextMenuType.TableColumn : ContextMenuType.Table,
world,
Expand Down

0 comments on commit 275ded1

Please sign in to comment.