1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-16 03:06:27 +00:00

remove unused spacing

This commit is contained in:
Mika Andrianarijaona
2018-08-22 18:14:31 +02:00
parent 64d4cd84af
commit a19c13eb3c

View File

@@ -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
]) ])