mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-29 22:39:45 +08:00
ref: 功能优化
This commit is contained in:
@@ -32,7 +32,7 @@ export default {
|
||||
return arg
|
||||
},
|
||||
setExpendHeight({height}, mainWindow) {
|
||||
mainWindow.setSize(788, height || 60);
|
||||
mainWindow.setSize(800, height || 60);
|
||||
},
|
||||
db: {
|
||||
put({data}) {
|
||||
|
||||
@@ -33,7 +33,7 @@ export default function init(mainWindow) {
|
||||
});
|
||||
|
||||
ipcMain.on('changeWindowSize-rubick', (event, arg) => {
|
||||
mainWindow.setSize(arg.width || 788, arg.height);
|
||||
mainWindow.setSize(arg.width || 800, arg.height);
|
||||
});
|
||||
|
||||
mainWindow.on('blur', () => {
|
||||
|
||||
@@ -22,7 +22,7 @@ function createWindow () {
|
||||
mainWindow = new BrowserWindow({
|
||||
height: 60,
|
||||
useContentSize: true,
|
||||
width: 788,
|
||||
width: 800,
|
||||
frame: false,
|
||||
title: '拉比克',
|
||||
webPreferences: {
|
||||
|
||||
Reference in New Issue
Block a user