From 9659ce38fc26c2c4baa8ab31032e44a49d0c5df7 Mon Sep 17 00:00:00 2001 From: Guoguo Date: Mon, 15 Dec 2025 11:15:55 +0800 Subject: [PATCH] feat: add 4k resolution --- browser/src/components/menu/video/resolution.tsx | 1 + desktop/src/renderer/src/components/menu/video/resolution.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/browser/src/components/menu/video/resolution.tsx b/browser/src/components/menu/video/resolution.tsx index 0af98d7..807d277 100644 --- a/browser/src/components/menu/video/resolution.tsx +++ b/browser/src/components/menu/video/resolution.tsx @@ -22,6 +22,7 @@ export const Resolution = () => { const [customResolutions, setCustomResolutions] = useState([]); const resolutions: VideoResolution[] = [ + { width: 3840, height: 2160 }, { width: 2560, height: 1440 }, { width: 1920, height: 1080 }, { width: 1280, height: 720 }, diff --git a/desktop/src/renderer/src/components/menu/video/resolution.tsx b/desktop/src/renderer/src/components/menu/video/resolution.tsx index 90c2bfe..34d2d06 100644 --- a/desktop/src/renderer/src/components/menu/video/resolution.tsx +++ b/desktop/src/renderer/src/components/menu/video/resolution.tsx @@ -23,6 +23,7 @@ export const Resolution = (): ReactElement => { const [customResolutions, setCustomResolutions] = useState([]) const resolutions: VideoResolution[] = [ + { width: 3840, height: 2160 }, { width: 2560, height: 1440 }, { width: 1920, height: 1080 }, { width: 1280, height: 720 },