mirror of
https://github.com/rubickCenter/rubick
synced 2025-08-09 13:19:34 +08:00
style: touchbar 颜色调整
This commit is contained in:
parent
7ea778b2bf
commit
4e55f14a69
@ -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],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user