mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
fixing some code from the comments
This commit is contained in:
@@ -31,13 +31,9 @@ class MarkdownNoteDetail extends React.Component {
|
||||
}, props.note),
|
||||
isLockButtonShown: false,
|
||||
isLocked: false,
|
||||
fullScreen: {
|
||||
status: false,
|
||||
oldState: {
|
||||
nd : 0,
|
||||
mb : 0
|
||||
}
|
||||
}
|
||||
fullScreen: false,
|
||||
widthOfNoteDetail: 0,
|
||||
widthOfMainBody: 0
|
||||
}
|
||||
this.dispatchTimer = null
|
||||
|
||||
|
||||
@@ -49,13 +49,9 @@ class SnippetNoteDetail extends React.Component {
|
||||
}, props.note, {
|
||||
snippets: props.note.snippets.map((snippet) => Object.assign({}, snippet))
|
||||
}),
|
||||
fullScreen: {
|
||||
status: false,
|
||||
oldState: {
|
||||
nd : 0,
|
||||
mb : 0
|
||||
}
|
||||
}
|
||||
fullScreen: false,
|
||||
widthOfNoteDetail: 0,
|
||||
widthOfMainBody: 0
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -201,6 +201,7 @@ class Main extends React.Component {
|
||||
/>
|
||||
{!config.isSideNavFolded &&
|
||||
<div styleName={this.state.isLeftSliderFocused ? 'slider--active' : 'slider'}
|
||||
id='slider-left'
|
||||
style={{left: this.state.navWidth}}
|
||||
onMouseDown={(e) => this.handleLeftSlideMouseDown(e)}
|
||||
draggable='false'
|
||||
@@ -232,6 +233,7 @@ class Main extends React.Component {
|
||||
])}
|
||||
/>
|
||||
<div styleName={this.state.isRightSliderFocused ? 'slider-right--active' : 'slider-right'}
|
||||
id='slider-right'
|
||||
style={{left: this.state.listWidth - 1}}
|
||||
onMouseDown={(e) => this.handleRightSlideMouseDown(e)}
|
||||
draggable='false'
|
||||
|
||||
Reference in New Issue
Block a user