Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

Refactor: Update window handling and title for NotesWindow

itzadetunjied001310ad7b
diff --git a/electron/main.ts b/electron/main.ts
index 6b533a8ff..fde69aa6f 100644
--- a/electron/main.ts
+++ b/electron/main.ts
@@ -593,8 +593,8 @@ appReady?.then(async () => {
createNotesWindowWrapper,
() => mainWindow,
() => sourceSelectorWindow,
- () => countdownOverlayWindow,
() => notesWindow,
+ () => countdownOverlayWindow,
(recording: boolean, sourceName: string) => {
selectedSourceName = sourceName;
if (!tray) createTray();
diff --git a/electron/windows.ts b/electron/windows.ts
index b0a519b1e..70bacbee2 100644
--- a/electron/windows.ts
+++ b/electron/windows.ts
@@ -330,7 +330,7 @@ export function createNotesWindow(): BrowserWindow {
minHeight: 400,
maxWidth: 640,
maxHeight: 720,
- title: "Notes",
+ title: "OpenScreen - Notes",
backgroundColor: "#09090b",
resizable: true,
alwaysOnTop: true,