diff --git a/src/components/layers/LayerEditor.jsx b/src/components/layers/LayerEditor.jsx
index f725223..f294940 100644
--- a/src/components/layers/LayerEditor.jsx
+++ b/src/components/layers/LayerEditor.jsx
@@ -142,9 +142,7 @@ export default class LayerEditor extends React.Component {
}
- return
+ return
{propertyGroups}
{dataGroup}
diff --git a/src/components/layers/LayerEditorGroup.jsx b/src/components/layers/LayerEditorGroup.jsx
index 09fc7ce..08a218e 100644
--- a/src/components/layers/LayerEditorGroup.jsx
+++ b/src/components/layers/LayerEditorGroup.jsx
@@ -1,4 +1,5 @@
import React from 'react'
+import Color from 'color'
import colors from '../../config/colors'
import { margins, fontSizes } from '../../config/scales'
@@ -28,32 +29,35 @@ export default class LayerEditorGroup extends React.Component {
onActiveToggle: React.PropTypes.func.isRequired
}
+ constructor(props) {
+ super(props)
+ this.state = { hover: false }
+ }
+
render() {
return
this.setState({hover: true})}
+ onMouseOut={e => this.setState({hover: false})}
onClick={e => this.props.onActiveToggle(!this.props.isActive)}
>
{this.props.title}
-
-
- {this.props.children}
-
-
+
+ {this.props.children}
+
}
}
diff --git a/src/components/layers/LayerListItem.jsx b/src/components/layers/LayerListItem.jsx
index 6b65316..5483b59 100644
--- a/src/components/layers/LayerListItem.jsx
+++ b/src/components/layers/LayerListItem.jsx
@@ -135,7 +135,6 @@ class LayerListItem extends React.Component {
}
if(this.state.hover) {
- console.log('hooover')
itemStyle.backgroundColor = Color(colors.black).lighten(0.10).string()
}