From e81cf9407966612e25b944addbc8d2a08300d0bb Mon Sep 17 00:00:00 2001
From: Sam Wilkins <abdullah_ahmed@brown.edu>
Date: Mon, 22 Jul 2019 11:38:55 -0400
Subject: editing + nav on schema only occur when that schemaview is selected

---
 src/client/views/collections/CollectionSchemaCells.tsx | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'src/client/views/collections/CollectionSchemaCells.tsx')

diff --git a/src/client/views/collections/CollectionSchemaCells.tsx b/src/client/views/collections/CollectionSchemaCells.tsx
index 91bd0453e..55185e30e 100644
--- a/src/client/views/collections/CollectionSchemaCells.tsx
+++ b/src/client/views/collections/CollectionSchemaCells.tsx
@@ -51,6 +51,9 @@ export class CollectionSchemaCell extends React.Component<CellProps> {
         if (this._focusRef.current) {
             if (this.props.isFocused) {
                 this._focusRef.current.className += " focused";
+                if (!this.props.isEditable) {
+                    this._focusRef.current.className += " inactive";
+                }
             } else {
                 this._focusRef.current.className = "collectionSchemaView-cellWrapper";
             }
-- 
cgit v1.2.3-70-g09d2

