Skip to content

Commit 0016db4

Browse files
authored
Merge pull request #90 from imguoguo/add-4k-resolution
feat: add 4k resolution
2 parents 024abc4 + 9659ce3 commit 0016db4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

browser/src/components/menu/video/resolution.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export const Resolution = () => {
2222
const [customResolutions, setCustomResolutions] = useState<VideoResolution[]>([]);
2323

2424
const resolutions: VideoResolution[] = [
25+
{ width: 3840, height: 2160 },
2526
{ width: 2560, height: 1440 },
2627
{ width: 1920, height: 1080 },
2728
{ width: 1280, height: 720 },

desktop/src/renderer/src/components/menu/video/resolution.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export const Resolution = (): ReactElement => {
2323
const [customResolutions, setCustomResolutions] = useState<VideoResolution[]>([])
2424

2525
const resolutions: VideoResolution[] = [
26+
{ width: 3840, height: 2160 },
2627
{ width: 2560, height: 1440 },
2728
{ width: 1920, height: 1080 },
2829
{ width: 1280, height: 720 },

0 commit comments

Comments
 (0)