summaryrefslogtreecommitdiff
path: root/apps/web/src/timeline/components/timeline-element.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/src/timeline/components/timeline-element.tsx')
-rw-r--r--apps/web/src/timeline/components/timeline-element.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/web/src/timeline/components/timeline-element.tsx b/apps/web/src/timeline/components/timeline-element.tsx
index 1b549a15..9dfeab8b 100644
--- a/apps/web/src/timeline/components/timeline-element.tsx
+++ b/apps/web/src/timeline/components/timeline-element.tsx
@@ -2,6 +2,7 @@
import { createContext, useContext } from "react";
import { useEditor } from "@/editor/use-editor";
+import { FEATURES } from "@/features";
import { useAssetsPanelStore } from "@/components/editor/panels/assets/assets-panel-store";
import { AudioWaveform, WAVEFORM_GAIN_SAMPLE_COUNT } from "./audio-waveform";
import { AudioVolumeLine } from "./audio-volume-line";
@@ -1123,7 +1124,7 @@ function TiledMediaContent({
<MediaElementHeader
name={mediaAsset?.name}
leading={
- hasElementEffects({ element }) ? (
+ FEATURES.effects && hasElementEffects({ element }) ? (
<EffectsButton element={element} track={track} />
) : null
}