Commit fb704584 authored by Jan-Philipp Willem's avatar Jan-Philipp Willem
Browse files

add selected-state to reaction-svg

parent fc8c8224
......@@ -57,7 +57,9 @@ export default class ElementsTableEntries extends Component {
'molecule': element.type == 'sample'
}, {
'molecule-selected': element.type == 'sample' && this.isElementSelected(element)
});
}, {
'reaction-selected': element.type == 'reaction' && this.isElementSelected(element)
});
let svgContainer = {
verticalAlign: 'middle',
textAlign: 'center'
......
......@@ -34,3 +34,8 @@
stroke: white;
fill: white;
}
.reaction-selected line, .reaction-selected text, .reaction-selected polygon {
stroke: white;
fill: white;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment