fix(electrobun): update stub HTML + 800x600 test window size
This commit is contained in:
parent
7971ffe859
commit
f97eaa1c36
2 changed files with 26 additions and 74 deletions
|
|
@ -226,10 +226,12 @@ connectToDaemon();
|
|||
|
||||
const url = await getMainViewUrl();
|
||||
|
||||
const savedX = Number(settingsDb.getSetting("win_x") ?? 100);
|
||||
const savedY = Number(settingsDb.getSetting("win_y") ?? 100);
|
||||
const savedWidth = Number(settingsDb.getSetting("win_width") ?? 1400);
|
||||
const savedHeight = Number(settingsDb.getSetting("win_height") ?? 900);
|
||||
// Use 800x600 for resize testing; normal mode uses saved values
|
||||
const RESIZE_TEST_ACTIVE = true; // HARDCODED — revert after testing
|
||||
const savedX = RESIZE_TEST_ACTIVE ? 200 : Number(settingsDb.getSetting("win_x") ?? 100);
|
||||
const savedY = RESIZE_TEST_ACTIVE ? 200 : Number(settingsDb.getSetting("win_y") ?? 100);
|
||||
const savedWidth = RESIZE_TEST_ACTIVE ? 800 : Number(settingsDb.getSetting("win_width") ?? 1400);
|
||||
const savedHeight = RESIZE_TEST_ACTIVE ? 600 : Number(settingsDb.getSetting("win_height") ?? 900);
|
||||
|
||||
mainWindow = new BrowserWindow({
|
||||
title: "Agent Orchestrator",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue