mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-26 21:18:49 +00:00
panel position height dependent
This commit is contained in:
parent
c22c786cf2
commit
dd171f8320
@ -44,8 +44,6 @@ export function VerticalPanel({ context }) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<PanelNav
|
<PanelNav
|
||||||
onMouseEnter={(x) => setIsHovered(true)}
|
|
||||||
onMouseLeave={(x) => setIsHovered(false)}
|
|
||||||
className={cx(
|
className={cx(
|
||||||
'hover:min-w-[min(600px,80vw)] hover:max-w-[min(600px,80vw)]',
|
'hover:min-w-[min(600px,80vw)] hover:max-w-[min(600px,80vw)]',
|
||||||
pinned ? `min-w-[min(600px,80vw)] max-w-[min(600px,80vw)]` : 'min-w-8',
|
pinned ? `min-w-[min(600px,80vw)] max-w-[min(600px,80vw)]` : 'min-w-8',
|
||||||
|
|||||||
@ -30,7 +30,7 @@ export const defaultSettings = {
|
|||||||
isZen: false,
|
isZen: false,
|
||||||
soundsFilter: 'all',
|
soundsFilter: 'all',
|
||||||
patternFilter: 'community',
|
patternFilter: 'community',
|
||||||
panelPosition: 'bottom',
|
panelPosition: window.innerWidth > 1000 ? 'right' : 'bottom',
|
||||||
isPanelPinned: true,
|
isPanelPinned: true,
|
||||||
userPatterns: '{}',
|
userPatterns: '{}',
|
||||||
audioDeviceName: defaultAudioDeviceName,
|
audioDeviceName: defaultAudioDeviceName,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user