mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
modify: add comment for handleMousUp action
This commit is contained in:
@@ -85,6 +85,7 @@ class Main extends React.Component {
|
||||
}
|
||||
|
||||
handleMouseUp (e) {
|
||||
// Change width of NoteList component.
|
||||
if (this.state.isRightSliderFocused) {
|
||||
this.setState({
|
||||
isRightSliderFocused: false
|
||||
@@ -99,6 +100,8 @@ class Main extends React.Component {
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
// Change width of SideNav component.
|
||||
if (this.state.isLeftSliderFocused) {
|
||||
this.setState({
|
||||
isLeftSliderFocused: false
|
||||
|
||||
Reference in New Issue
Block a user