mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-22 09:37:53 +00:00
Lint fixes
This commit is contained in:
@@ -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