mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-24 03:00:09 +08:00
style: touchbar 颜色调整
This commit is contained in:
@@ -199,7 +199,6 @@ class Listener {
|
|||||||
|
|
||||||
return new TouchBarButton({
|
return new TouchBarButton({
|
||||||
icon,
|
icon,
|
||||||
backgroundColor: '#ff9fb4',
|
|
||||||
click() {
|
click() {
|
||||||
mainWindow.webContents.send('superPanel-openPlugin', {
|
mainWindow.webContents.send('superPanel-openPlugin', {
|
||||||
cmd: item.features[0].cmds.filter(cmd => typeof cmd === 'string')[0],
|
cmd: item.features[0].cmds.filter(cmd => typeof cmd === 'string')[0],
|
||||||
@@ -214,7 +213,6 @@ class Listener {
|
|||||||
if(item.type === 'system') {
|
if(item.type === 'system') {
|
||||||
return new TouchBarButton({
|
return new TouchBarButton({
|
||||||
icon: nativeImage.createFromDataURL(item.logo).resize({width: 20, height: 20}),
|
icon: nativeImage.createFromDataURL(item.logo).resize({width: 20, height: 20}),
|
||||||
backgroundColor: '#ff9fb4',
|
|
||||||
click() {
|
click() {
|
||||||
mainWindow.webContents.send('superPanel-openPlugin', {
|
mainWindow.webContents.send('superPanel-openPlugin', {
|
||||||
cmd: item.features[0].cmds.filter(cmd => typeof cmd === 'string')[0],
|
cmd: item.features[0].cmds.filter(cmd => typeof cmd === 'string')[0],
|
||||||
|
|||||||
Reference in New Issue
Block a user