mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-03 08:43:48 +03:00
fix: added a minWidth and minHeight in app window
This commit is contained in:
parent
c4baf815cf
commit
b2e2d937b2
@ -16,6 +16,8 @@ export class WindowManager {
|
|||||||
this.mainWindow = new BrowserWindow({
|
this.mainWindow = new BrowserWindow({
|
||||||
width: 1200,
|
width: 1200,
|
||||||
height: 720,
|
height: 720,
|
||||||
|
minWidth: 1024,
|
||||||
|
minHeight: 540,
|
||||||
titleBarStyle: "hidden",
|
titleBarStyle: "hidden",
|
||||||
icon: path.join(__dirname, "..", "..", "images", "icon.png"),
|
icon: path.join(__dirname, "..", "..", "images", "icon.png"),
|
||||||
trafficLightPosition: { x: 16, y: 16 },
|
trafficLightPosition: { x: 16, y: 16 },
|
||||||
|
Loading…
Reference in New Issue
Block a user