feat: 模板导出导入 + 模板应用自动刷新主窗口 + 窗口放大 + 状态栏可拖拽
This commit is contained in:
@@ -62,11 +62,11 @@ export function openDialogWindow(type: string): BrowserWindow | null {
|
||||
}
|
||||
|
||||
const sizes: Record<string, { width: number; height: number }> = {
|
||||
settings: { width: 520, height: 560 },
|
||||
history: { width: 800, height: 600 },
|
||||
templates: { width: 640, height: 520 },
|
||||
rubric: { width: 640, height: 700 },
|
||||
result: { width: 520, height: 700 }
|
||||
settings: { width: 640, height: 680 },
|
||||
history: { width: 1000, height: 750 },
|
||||
templates: { width: 720, height: 600 },
|
||||
rubric: { width: 750, height: 800 },
|
||||
result: { width: 600, height: 780 }
|
||||
}
|
||||
const size = sizes[type] || { width: 500, height: 500 }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user