diff options
| author | fawn <fangrui_tong@brown.edu> | 2019-07-29 14:28:25 -0400 |
|---|---|---|
| committer | fawn <fangrui_tong@brown.edu> | 2019-07-29 14:28:25 -0400 |
| commit | f1cb6a2212b11ba6d18dfa2e800b2c8e4ad94a88 (patch) | |
| tree | b4eec58d968812fc16edc5b8c22ad10629376606 /src/client/views/collections/CollectionSchemaView.tsx | |
| parent | c361a566b2a3ce134bbb7e5906c23492c7012c7b (diff) | |
made hit box on col resizer smaller and hit box on coll expander bigger
Diffstat (limited to 'src/client/views/collections/CollectionSchemaView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionSchemaView.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/views/collections/CollectionSchemaView.tsx b/src/client/views/collections/CollectionSchemaView.tsx index 53dd9523b..ece638ec7 100644 --- a/src/client/views/collections/CollectionSchemaView.tsx +++ b/src/client/views/collections/CollectionSchemaView.tsx @@ -635,15 +635,15 @@ export class SchemaTable extends React.Component<SchemaTableProps> { let list = Cast(this.props.Document.schemaColumns, listSpec(SchemaHeaderField)); if (list === undefined) { console.log("change columns new"); - this.props.Document.schemaColumns = list = new List<SchemaHeaderField>([new SchemaHeaderField(newKey, "f1efeb")]); + this.props.Document.schemaColumns = list = new List<SchemaHeaderField>([new SchemaHeaderField(newKey, "#f1efeb")]); } else { console.log("change column"); if (addNew) { - this.columns.push(new SchemaHeaderField(newKey, "f1efeb")); + this.columns.push(new SchemaHeaderField(newKey, "#f1efeb")); } else { const index = list.map(c => c.heading).indexOf(oldKey); if (index > -1) { - list[index] = new SchemaHeaderField(newKey, "f1efeb"); + list[index] = new SchemaHeaderField(newKey, "#f1efeb"); } } } |
