mirror of
https://github.com/eliasstepanik/strudel.git
synced 2026-01-11 21:58:37 +00:00
reset/autoplay when window PARENT does not exist or does not contain oodles
This commit is contained in:
parent
961e931c31
commit
b46e8c07be
@ -99,7 +99,7 @@ export function PatternsTab({ context }) {
|
||||
};
|
||||
const viewingPatternID = viewingPatternData?.id;
|
||||
|
||||
const autoResetPatternOnChange = !window.location.pathname.includes('oodles');
|
||||
const autoResetPatternOnChange = !window.parent?.location.pathname.includes('oodles');
|
||||
|
||||
return (
|
||||
<div className="px-4 w-full dark:text-white text-stone-900 space-y-2 pb-4 flex flex-col overflow-hidden max-h-full">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user