Update mod.js

Added an option for scroll database toolbars
This commit is contained in:
Ryo Hilmawan 2020-11-03 12:05:37 +07:00 committed by GitHub
parent b02ed3e36a
commit 91a1cbc884
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,6 +66,12 @@ module.exports = {
type: 'toggle',
value: false,
},
{
key: 'scroll_db_toolbars',
label: 'scroll database toolbars',
type: 'toggle',
value: false,
},
],
hacks: {
'renderer/preload.js': (store, __exports) => {
@ -77,6 +83,7 @@ module.exports = {
'thicker_bold',
'spaced_lines',
'hide_help',
'scroll_db_toolbars',
]
.filter((tweak) => store()[tweak])
.map((tweak) => `[${tweak}]`)