diff --git a/src/simput/RodEditor.js b/src/simput/RodEditor.js
index 9c15bdc..8f126b1 100644
--- a/src/simput/RodEditor.js
+++ b/src/simput/RodEditor.js
@@ -4,7 +4,6 @@ import PropTypes from 'prop-types';
import Rod2DPreview from '../widgets/Rod2DPreview';
import EditableList from '../widgets/EditableList';
import VTKWidget from '../widgets/VTKWidget';
-import Color from '../widgets/Color';
import vtkRodVTKViewer from '../utils/RodVTKViewer';
import ColorManager from '../utils/ColorManager';
@@ -76,40 +75,34 @@ export default class RodEditor extends React.Component {
const columns = [
{
- key: 'color',
- dataKey: '',
- label: 'Color',
+ key: 'cell',
+ dataKey: 'label',
+ label: 'Cell',
classes: style.centeredCell,
- render: (_, layer) => {
+ render: (cellName, layer) => {
const color = this.props.ui.domain.cells[layer.label].color;
// adds alpha channel
- const out = ColorManager.toRGBA(color.concat([1]));
- return ;
+ const background = ColorManager.toRGBA(color.concat([1]));
+ return (
+
+ );
},
},
- {
- key: 'cell',
- dataKey: 'label',
- label: 'Cell/Layer Type',
- classes: style.centeredCell,
- render: (cellName, layer) => (
-
- ),
- },
{
key: 'length',
dataKey: 'length',
- label: 'Length',
+ label: 'Axial Length',
classes: style.centeredCell,
render: (value, layer) => (