mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
Scroll Bars can now be hidden (#2713)
* Scroll Bars can now be hidden * Fix lint problems * fix lint errors * Fix lint * Fix lint * Change scrollBar to showScrollBar
This commit is contained in:
@@ -94,6 +94,7 @@ class UiTab extends React.Component {
|
||||
showTagsAlphabetically: this.refs.showTagsAlphabetically.checked,
|
||||
saveTagsAlphabetically: this.refs.saveTagsAlphabetically.checked,
|
||||
enableLiveNoteCounts: this.refs.enableLiveNoteCounts.checked,
|
||||
showScrollBar: this.refs.showScrollBar.checked,
|
||||
showMenuBar: this.refs.showMenuBar.checked,
|
||||
disableDirectWrite:
|
||||
this.refs.uiD2w != null ? this.refs.uiD2w.checked : false
|
||||
@@ -351,9 +352,21 @@ class UiTab extends React.Component {
|
||||
</label>
|
||||
</div>
|
||||
) : null}
|
||||
|
||||
<div styleName='group-checkBoxSection'>
|
||||
<label>
|
||||
<input
|
||||
onChange={e => this.handleUIChange(e)}
|
||||
checked={this.state.config.ui.showScrollBar}
|
||||
ref='showScrollBar'
|
||||
type='checkbox'
|
||||
/>
|
||||
|
||||
{i18n.__(
|
||||
'Show the scroll bars in the editor and in the markdown preview (It will be applied after restarting)'
|
||||
)}
|
||||
</label>
|
||||
</div>
|
||||
<div styleName='group-header2'>Tags</div>
|
||||
|
||||
<div styleName='group-checkBoxSection'>
|
||||
<label>
|
||||
<input
|
||||
|
||||
Reference in New Issue
Block a user