1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

added fullscreen button for notes and snippets

allows user to hide the sidebars for fullscreen editing
This commit is contained in:
Kevin Nadro
2017-05-27 20:22:51 -05:00
committed by asmsuechan
parent 2ee2494dc4
commit 0c3019b52e
2 changed files with 17 additions and 2 deletions

View File

@@ -30,7 +30,14 @@ class MarkdownNoteDetail extends React.Component {
content: ''
}, props.note),
isLockButtonShown: false,
isLocked: false
isLocked: false,
fullScreen: {
status: false,
oldState: {
nd : 0,
mb : 0
}
}
}
this.dispatchTimer = null

View File

@@ -48,7 +48,15 @@ class SnippetNoteDetail extends React.Component {
description: ''
}, props.note, {
snippets: props.note.snippets.map((snippet) => Object.assign({}, snippet))
})
}),
fullScreen: {
status: false,
oldState: {
nd : 0,
mb : 0
}
}
}
}