mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-27 07:12:39 +00:00
Unified spacing
This commit is contained in:
@@ -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(){
|
||||
this.setState({willChange : 'transform'});
|
||||
},
|
||||
|
||||
/**
|
||||
* Unload smooth scrolling optimizations when mouse leaves rendering panel
|
||||
* Unload smooth scrolling optimizations when mouse leaves rendering panel
|
||||
**/
|
||||
unprepareScroll : function(){
|
||||
this.setState({willChange : 'auto'});
|
||||
|
||||
Reference in New Issue
Block a user