ref: 功能优化

This commit is contained in:
muwoo
2021-06-21 10:23:04 +08:00
parent 3446b294ac
commit 0d6872d12b
7 changed files with 39 additions and 8 deletions

View File

@@ -32,7 +32,7 @@ export default {
return arg
},
setExpendHeight({height}, mainWindow) {
mainWindow.setSize(788, height || 60);
mainWindow.setSize(800, height || 60);
},
db: {
put({data}) {

View File

@@ -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', () => {

View File

@@ -22,7 +22,7 @@ function createWindow () {
mainWindow = new BrowserWindow({
height: 60,
useContentSize: true,
width: 788,
width: 800,
frame: false,
title: '拉比克',
webPreferences: {