fix: allow smaller min width (#2695)

This commit is contained in:
Louis 2024-04-11 21:34:03 +07:00 committed by GitHub
parent 7d67087919
commit 8cea51e733
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,9 +1,10 @@
const DEFAULT_WIDTH = 1200
const DEFAULT_MIN_WIDTH = 400
const DEFAULT_HEIGHT = 800
export const mainWindowConfig: Electron.BrowserWindowConstructorOptions = {
width: DEFAULT_WIDTH,
minWidth: DEFAULT_WIDTH,
minWidth: DEFAULT_MIN_WIDTH,
height: DEFAULT_HEIGHT,
skipTaskbar: false,
show: true,