0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-08 01:02:51 +00:00

Unified spacing

This commit is contained in:
Trevor Buckner
2018-05-10 12:46:03 -04:00
committed by Rae2che5
parent 825c259fba
commit a8a70c2d70

View File

@@ -128,14 +128,14 @@ const BrewRenderer = createClass({
}, },
/** /**
* Optimize for smooth scrolling when mouse enters the rendering panel * Optimize for smooth scrolling when mouse enters the rendering panel
**/ **/
prepareScroll : function(){ prepareScroll : function(){
this.setState({willChange : 'transform'}); this.setState({willChange : 'transform'});
}, },
/** /**
* Unload smooth scrolling optimizations when mouse leaves rendering panel * Unload smooth scrolling optimizations when mouse leaves rendering panel
**/ **/
unprepareScroll : function(){ unprepareScroll : function(){
this.setState({willChange : 'auto'}); this.setState({willChange : 'auto'});