mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-19 19:19:03 +00:00
Update mod.js
Added an option for scroll database toolbars
This commit is contained in:
parent
b02ed3e36a
commit
91a1cbc884
@ -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}]`)
|
||||
|
Loading…
Reference in New Issue
Block a user