fix: add a minimum height for the main window otherwise it shrinks

This commit is contained in:
Louis 2024-08-26 13:51:50 +07:00
parent 6d33ff60f9
commit 44119e6ce3
No known key found for this signature in database
GPG Key ID: 44FA9F4D33C37DE2

View File

@ -1,8 +1,10 @@
const DEFAULT_MIN_WIDTH = 400
const DEFAULT_MIN_HEIGHT = 300
export const mainWindowConfig: Electron.BrowserWindowConstructorOptions = {
skipTaskbar: false,
minWidth: DEFAULT_MIN_WIDTH,
minHeight: DEFAULT_MIN_HEIGHT,
show: true,
transparent: true,
frame: false,