Add minimum window height & width

This commit is contained in:
Vendicated
2023-04-09 05:04:49 +02:00
parent 27b6264c79
commit ba0e8fedd0
5 changed files with 48 additions and 41 deletions

View File

@@ -1,13 +1,11 @@
import type { Rectangle } from "electron";
export interface Settings {
maximized?: boolean;
minimized?: boolean;
windowBounds?: {
x: number;
y: number;
width: number;
height: number;
};
windowBounds?: Rectangle;
discordBranch?: "stable" | "canary" | "ptb";
openLinksWithElectron?: boolean;
vencordDir?: string;
disableMinSize?: boolean;
}