mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-16 03:06:27 +00:00
remove unused spacing
This commit is contained in:
@@ -26,17 +26,16 @@ const trash = new TouchBarButton({
|
|||||||
const newNote = new TouchBarButton({
|
const newNote = new TouchBarButton({
|
||||||
label: '✎',
|
label: '✎',
|
||||||
click: () => {
|
click: () => {
|
||||||
|
mainWindow.webContents.send('list:navigate', '/home')
|
||||||
mainWindow.webContents.send('top:new-note')
|
mainWindow.webContents.send('top:new-note')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
module.exports = new TouchBar([
|
module.exports = new TouchBar([
|
||||||
allNotes,
|
allNotes,
|
||||||
new TouchBarSpacer({size: 'small'}),
|
|
||||||
starredNotes,
|
starredNotes,
|
||||||
new TouchBarSpacer({size: 'small'}),
|
|
||||||
trash,
|
trash,
|
||||||
new TouchBarSpacer({size: 'large'}),
|
new TouchBarSpacer({size: 'small'}),
|
||||||
newNote
|
newNote
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user