aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionSchema/SchemaTableCell.tsx
diff options
context:
space:
mode:
authorNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-06-29 19:07:27 -0400
committerNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-06-29 19:07:27 -0400
commit6d8c85aacba7d9ccdedfb85b838e84ad914e6081 (patch)
tree9fcd8ea1c26e02c77e68c40189728274b2d252bc /src/client/views/collections/collectionSchema/SchemaTableCell.tsx
parent25e69f18cf38587853771be8080035ab8a460e7e (diff)
highlight updates properly when highlighted cell is selected; no longer possible to add EmptyKey to equation
Diffstat (limited to 'src/client/views/collections/collectionSchema/SchemaTableCell.tsx')
-rw-r--r--src/client/views/collections/collectionSchema/SchemaTableCell.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/collections/collectionSchema/SchemaTableCell.tsx b/src/client/views/collections/collectionSchema/SchemaTableCell.tsx
index 084306c4a..1f5684151 100644
--- a/src/client/views/collections/collectionSchema/SchemaTableCell.tsx
+++ b/src/client/views/collections/collectionSchema/SchemaTableCell.tsx
@@ -266,6 +266,8 @@ export class SchemaTableCell extends ObservableReactComponent<SchemaTableCellPro
className="schema-table-cell"
onContextMenu={e => StopEvent(e)}
onPointerDown={action(e => {
+ if (this.lockedInteraction) { e.stopPropagation(); e.preventDefault(); return; }
+
if (this._props.refSelectModeInfo.enabled && !selectedCell(this._props)){
e.stopPropagation();
e.preventDefault();