style: touchbar 颜色调整

This commit is contained in:
muwoo 2021-08-18 19:48:23 +08:00
parent 7ea778b2bf
commit 4e55f14a69

View File

@ -199,7 +199,6 @@ class Listener {
return new TouchBarButton({
icon,
backgroundColor: '#ff9fb4',
click() {
mainWindow.webContents.send('superPanel-openPlugin', {
cmd: item.features[0].cmds.filter(cmd => typeof cmd === 'string')[0],
@ -214,7 +213,6 @@ class Listener {
if(item.type === 'system') {
return new TouchBarButton({
icon: nativeImage.createFromDataURL(item.logo).resize({width: 20, height: 20}),
backgroundColor: '#ff9fb4',
click() {
mainWindow.webContents.send('superPanel-openPlugin', {
cmd: item.features[0].cmds.filter(cmd => typeof cmd === 'string')[0],