mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-25 11:57:02 +00:00
Lint fixes
This commit is contained in:
1 parent
a8a70c2d70
commit
004dc79eb2
1 file changed
+3
-3
@@ -131,14 +131,14 @@ const BrewRenderer = createClass({
|
||||
* Optimize for smooth scrolling when mouse enters the rendering panel
|
||||
**/
|
||||
prepareScroll : function(){
|
||||
this.setState({willChange : 'transform'});
|
||||
this.setState({ willChange: 'transform' });
|
||||
},
|
||||
|
||||
/**
|
||||
* Unload smooth scrolling optimizations when mouse leaves rendering panel
|
||||
**/
|
||||
unprepareScroll : function(){
|
||||
this.setState({willChange : 'auto'});
|
||||
this.setState({ willChange: 'auto' });
|
||||
},
|
||||
|
||||
render : function(){
|
||||
@@ -150,7 +150,7 @@ const BrewRenderer = createClass({
|
||||
onMouseOut={this.unprepareScroll}
|
||||
ref='main'
|
||||
style={{ height: this.state.height,
|
||||
willChange: this.state.willChange}}>
|
||||
willChange: this.state.willChange }}>
|
||||
|
||||
<ErrorBar errors={this.props.errors} />
|
||||
<RenderWarnings />
|
||||
|
||||
Reference in new issue
Block a user