mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-08 01:02:51 +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(){
|
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'});
|
||||||
|
|||||||
Reference in New Issue
Block a user