mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-23 12:17:07 +00:00
Initial pass at split pane button functionality
This commit is contained in:
1 parent
3ccd1ebb7b
commit
eca39369de
2 files changed
+21
-5
No files matched your search
@@ -61,8 +61,14 @@ const Editor = createClass({
|
||||
window.removeEventListener('resize', this.updateEditorSize);
|
||||
},
|
||||
|
||||
componentDidUpdate : function() {
|
||||
componentDidUpdate : function(prevProps, prevState, snapshot) {
|
||||
this.highlightCustomMarkdown();
|
||||
if(prevProps.moveBrew !== this.props.moveBrew) {
|
||||
this.brewJump();
|
||||
};
|
||||
if(prevProps.moveSource !== this.props.moveSource) {
|
||||
this.sourceJump();
|
||||
};
|
||||
},
|
||||
|
||||
updateEditorSize : function() {
|
||||
|
||||
Reference in new issue
Block a user