mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 04:45:47 +01:00
feat(electron): set window minimum size (closes #994)
This commit is contained in:
@@ -156,6 +156,8 @@ async function createMainWindow(app: App) {
|
|||||||
y: mainWindowState.y,
|
y: mainWindowState.y,
|
||||||
width: mainWindowState.width,
|
width: mainWindowState.width,
|
||||||
height: mainWindowState.height,
|
height: mainWindowState.height,
|
||||||
|
minWidth: 500,
|
||||||
|
minHeight: 400,
|
||||||
title: "TriliumNext Notes",
|
title: "TriliumNext Notes",
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
nodeIntegration: true,
|
nodeIntegration: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user