Skip to content

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

Feat: Added lint Button

itzadetunji1815a600c982
diff --git a/src/components/launch/LaunchWindow.tsx b/src/components/launch/LaunchWindow.tsx
index 24d273b49..2748a7fa6 100644
--- a/src/components/launch/LaunchWindow.tsx
+++ b/src/components/launch/LaunchWindow.tsx
@@ -1,4 +1,12 @@
-import { Check, ChevronDown, Clapperboard, Columns3, Languages, Rows3 } from "lucide-react";
+import {
+ Check,
+ ChevronDown,
+ Clapperboard,
+ Columns3,
+ Languages,
+ NotepadText,
+ Rows3,
+} from "lucide-react";
import { useCallback, useEffect, useRef, useState } from "react";
import { createPortal } from "react-dom";
import { BsPauseCircle, BsPlayCircle, BsRecordCircle } from "react-icons/bs";
@@ -697,7 +705,10 @@ export function LaunchWindow() {
onMouseLeave={() => setIsMicHovered(false)}
onFocus={() => setIsMicFocused(true)}
onBlur={() => setIsMicFocused(false)}
- style={{ width: micExpanded ? "240px" : "140px", transition: "width 300ms ease" }}
+ style={{
+ width: micExpanded ? "240px" : "140px",
+ transition: "width 300ms ease",
+ }}
>
<div className="relative flex-1 min-w-0">
{!micExpanded && (
@@ -743,7 +754,10 @@ export function LaunchWindow() {
onMouseLeave={() => setIsWebcamHovered(false)}
onFocus={() => setIsWebcamFocused(true)}
onBlur={() => setIsWebcamFocused(false)}
- style={{ width: webcamExpanded ? "240px" : "140px", transition: "width 300ms ease" }}
+ style={{
+ width: webcamExpanded ? "240px" : "140px",
+ transition: "width 300ms ease",
+ }}
>
<div className="relative flex-1 min-w-0">
{!webcamExpanded && (
@@ -1031,6 +1045,12 @@ export function LaunchWindow() {
</div>
)}
+ <Tooltip content={t("tooltips.openNotes")}>
+ <button className={`${hudIconBtnClasses} ${styles.electronNoDrag}`}>
+ <NotepadText size={ICON_SIZE} className="text-white/60" />
+ </button>
+ </Tooltip>
+
{!recording && (
<Tooltip content={t("tooltips.openStudio")}>
<button
diff --git a/src/i18n/locales/en/launch.json b/src/i18n/locales/en/launch.json
index 0509752ee..6e25a7a29 100644
--- a/src/i18n/locales/en/launch.json
+++ b/src/i18n/locales/en/launch.json
@@ -10,7 +10,8 @@
"openProject": "Open project",
"useVerticalTray": "Use vertical tray",
"useHorizontalTray": "Use horizontal tray",
- "openStudio": "Open Studio"
+ "openStudio": "Open Studio",
+ "openNotes": "Open Notes"
},
"audio": {
"enableSystemAudio": "Enable system audio",