Skip to content

Commit 3061c14

Browse files
Merge pull request #249 from EtienneLescot/feat/webcam-selector-optimization
feat: added webcam source selector and optimized horizontal UI
2 parents 2f36160 + baec9a7 commit 3061c14

File tree

11 files changed

+1270
-163
lines changed

11 files changed

+1270
-163
lines changed

electron/windows.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ export function createHudOverlayWindow(): BrowserWindow {
2121
const primaryDisplay = screen.getPrimaryDisplay();
2222
const { workArea } = primaryDisplay;
2323

24-
const windowWidth = 500;
25-
const windowHeight = 155;
24+
const windowWidth = 600;
25+
const windowHeight = 160;
2626

2727
const x = Math.floor(workArea.x + (workArea.width - windowWidth) / 2);
2828
const y = Math.floor(workArea.y + workArea.height - windowHeight - 5);
2929

3030
const win = new BrowserWindow({
3131
width: windowWidth,
3232
height: windowHeight,
33-
minWidth: 500,
34-
maxWidth: 500,
35-
minHeight: 155,
36-
maxHeight: 155,
33+
minWidth: 600,
34+
maxWidth: 600,
35+
minHeight: 160,
36+
maxHeight: 160,
3737
x: x,
3838
y: y,
3939
frame: false,

0 commit comments

Comments
 (0)