Fix worklets not loading
This commit is contained in:
parent
920776fdfe
commit
908c0e44ff
6 changed files with 28 additions and 23 deletions
|
|
@ -94,11 +94,13 @@ export function Header({ context, embedded = false }) {
|
|||
{!isEmbedded && <span>update</span>}
|
||||
</button>
|
||||
<button
|
||||
onClick={() => handleExport(1, 16)}
|
||||
onClick={() => !started && handleExport(0, 16)}
|
||||
title="export"
|
||||
className={cx(
|
||||
'flex items-center space-x-1',
|
||||
!isEmbedded ? 'p-2' : 'px-2',
|
||||
started ? 'opacity-50' : 'hover:opacity-50',
|
||||
|
||||
)}
|
||||
>
|
||||
{!isEmbedded && <span>export</span>}
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ export function SettingsTab({ started }) {
|
|||
isMultiCursorEnabled,
|
||||
} = useSettings();
|
||||
const shouldAlwaysSync = isUdels();
|
||||
const canChangeAudioDevice = BaseAudioContext.prototype.setSinkId != null;
|
||||
const canChangeAudioDevice = AudioContext.prototype.setSinkId != null;
|
||||
return (
|
||||
<div className="text-foreground p-4 space-y-4 w-full" style={{ fontFamily }}>
|
||||
{canChangeAudioDevice && (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue