mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-30 06:42:45 +00:00
Hide divider arrows when not required
This commit is contained in:
@@ -232,6 +232,7 @@ const Editor = createClass({
|
||||
|
||||
renderEditor : function(){
|
||||
if(this.isText()){
|
||||
this.props.setMoveArrows(true);
|
||||
return <>
|
||||
<CodeEditor key='codeEditor'
|
||||
ref='codeEditor'
|
||||
@@ -243,6 +244,7 @@ const Editor = createClass({
|
||||
</>;
|
||||
}
|
||||
if(this.isStyle()){
|
||||
this.props.setMoveArrows(false);
|
||||
return <>
|
||||
<CodeEditor key='codeEditor'
|
||||
ref='codeEditor'
|
||||
@@ -255,6 +257,7 @@ const Editor = createClass({
|
||||
</>;
|
||||
}
|
||||
if(this.isMeta()){
|
||||
this.props.setMoveArrows(false);
|
||||
return <>
|
||||
<CodeEditor key='codeEditor'
|
||||
view={this.state.view}
|
||||
|
||||
Reference in New Issue
Block a user