Set smaller min width for main window
Sets a smaller min width on the main window, allowing GB Studio to run maximised on devices with lower resolution screens (such as phones) or allow GB Studio to be tiled on medium resolution screens (such as low-end laptops).
@@ -97,9 +97,9 @@ const createWindow = async (projectPath: string) => {
mainWindow = new BrowserWindow({
x: mainWindowState.x,
y: mainWindowState.y,
- width: Math.max(800, mainWindowState.width),
+ width: Math.max(600, mainWindowState.width),
height: Math.max(600, mainWindowState.height),
- minWidth: 800,
+ minWidth: 600,
minHeight: 600,
titleBarStyle: "hiddenInset",
fullscreenable: true,
