prevent selection while playing to avoid artifacts

This commit is contained in:
Jade (Rose) Rowland 2023-12-30 22:40:27 -05:00
parent 69554c0762
commit b3522fea6a
5 changed files with 32 additions and 12 deletions

View file

@ -73,7 +73,7 @@ const fontFamilyOptions = {
mode7: 'mode7',
};
export function SettingsTab() {
export function SettingsTab({ started }) {
const {
theme,
keybindings,
@ -95,6 +95,7 @@ export function SettingsTab() {
{AudioContext.prototype.setSinkId != null && (
<FormItem label="Audio Output Device">
<AudioDeviceSelector
isDisabled={started}
audioDeviceName={audioDeviceName}
onChange={(audioDeviceName) => settingsMap.setKey('audioDeviceName', audioDeviceName)}
/>