Skip to content

Commit

Permalink
perf: 设置软件窗口的最小尺寸
Browse files Browse the repository at this point in the history
  • Loading branch information
duan602728596 committed Oct 10, 2024
1 parent a5ace17 commit 2617658
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/main/src/ProcessWindow.mts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ export function createWindow(): void {

/* 初始化窗口 */
processWindow = new BrowserWindow({
width: 1000,
width: 1_000,
height: 800,
minWidth: 1_000,
minHeight: 800,
webPreferences: {
nodeIntegration: true,
nodeIntegrationInWorker: true,
Expand Down

0 comments on commit 2617658

Please sign in to comment.