prevent selection while playing to avoid artifacts
This commit is contained in:
parent
69554c0762
commit
b3522fea6a
5 changed files with 32 additions and 12 deletions
|
|
@ -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)}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue