revert default res
This commit is contained in:
parent
90dfa5170c
commit
94529549a9
2 changed files with 5 additions and 2 deletions
|
|
@ -302,7 +302,7 @@ export const superdough = async (value, t, hapDuration) => {
|
||||||
hpdecay,
|
hpdecay,
|
||||||
hpsustain,
|
hpsustain,
|
||||||
hprelease,
|
hprelease,
|
||||||
hresonance = 1,
|
hresonance = 0.5,
|
||||||
// band pass
|
// band pass
|
||||||
bpenv,
|
bpenv,
|
||||||
bandf,
|
bandf,
|
||||||
|
|
|
||||||
|
|
@ -2,13 +2,16 @@ import cx from '@src/cx.mjs';
|
||||||
|
|
||||||
export function ButtonGroup({ value, onChange, items }) {
|
export function ButtonGroup({ value, onChange, items }) {
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-wrap max-w-lg">
|
<div className="flex max-w-lg">
|
||||||
{Object.entries(items).map(([key, label], i, arr) => (
|
{Object.entries(items).map(([key, label], i, arr) => (
|
||||||
<button
|
<button
|
||||||
key={key}
|
key={key}
|
||||||
onClick={() => onChange(key)}
|
onClick={() => onChange(key)}
|
||||||
className={cx(
|
className={cx(
|
||||||
'px-2 border-b h-8 whitespace-nowrap',
|
'px-2 border-b h-8 whitespace-nowrap',
|
||||||
|
// i === 0 && 'rounded-l-md',
|
||||||
|
// i === arr.length - 1 && 'rounded-r-md',
|
||||||
|
// value === key ? 'bg-background' : 'bg-lineHighlight',
|
||||||
value === key ? 'border-foreground' : 'border-transparent',
|
value === key ? 'border-foreground' : 'border-transparent',
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue