diff --git a/src/renderer/components/ScreenSharePicker.tsx b/src/renderer/components/ScreenSharePicker.tsx index 876c181..c562984 100644 --- a/src/renderer/components/ScreenSharePicker.tsx +++ b/src/renderer/components/ScreenSharePicker.tsx @@ -6,13 +6,16 @@ import "./screenSharePicker.css"; -import { closeModal, Modals, openModal, useAwaiter } from "@vencord/types/utils"; +import { classes, closeModal, Margins, Modals, openModal, useAwaiter } from "@vencord/types/utils"; +import { findByPropsLazy } from "@vencord/types/webpack"; import { Button, Card, Forms, Switch, Text, useState } from "@vencord/types/webpack/common"; import type { Dispatch, SetStateAction } from "react"; const StreamResolutions = ["720", "1080", "1440", "Source"] as const; const StreamFps = ["15", "30", "60"] as const; +const WarningIconClasses = findByPropsLazy("warning", "error", "container"); + export type StreamResolution = (typeof StreamResolutions)[number]; export type StreamFps = (typeof StreamFps)[number]; @@ -96,6 +99,12 @@ function StreamSettings({ Stream Settings + + + Resolution and Frame Rate aren't implemented for now. Locked to 720p 30fps + + +
Resolution diff --git a/src/renderer/components/screenSharePicker.css b/src/renderer/components/screenSharePicker.css index 356a1ca..17f00bd 100644 --- a/src/renderer/components/screenSharePicker.css +++ b/src/renderer/components/screenSharePicker.css @@ -94,6 +94,8 @@ gap: 1em; margin-bottom: 0.5em; + + opacity: 0.3; } .vcd-screen-picker-quality section {