diff options
Diffstat (limited to 'apps/web/src/graphics/components/graphic-tab.tsx')
| -rw-r--r-- | apps/web/src/graphics/components/graphic-tab.tsx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/web/src/graphics/components/graphic-tab.tsx b/apps/web/src/graphics/components/graphic-tab.tsx index 549ef4b6..13cd7b84 100644 --- a/apps/web/src/graphics/components/graphic-tab.tsx +++ b/apps/web/src/graphics/components/graphic-tab.tsx @@ -6,10 +6,9 @@ import { useKeyframedParamProperty,
type KeyframedParamPropertyResult,
} from "@/components/editor/panels/properties/hooks/use-keyframed-param-property";
-import { resolveGraphicParamsAtTime } from "@/animation";
import type { ParamDefinition, ParamValues } from "@/params";
import type { GraphicElement } from "@/timeline";
-import { graphicsRegistry, registerDefaultGraphics } from "@/graphics";
+import { graphicsRegistry, registerDefaultGraphics, resolveGraphicElementParamsAtTime } from "@/graphics";
import { useElementPreview } from "@/timeline/hooks/use-element-preview";
import { useEditor } from "@/editor/use-editor";
import {
@@ -49,7 +48,7 @@ export function GraphicTab({ });
const liveElement = renderElement as GraphicElement;
- const resolvedParams = resolveGraphicParamsAtTime({
+ const resolvedParams = resolveGraphicElementParamsAtTime({
element: liveElement,
localTime,
});
@@ -104,7 +103,7 @@ function StrokeSection({ });
const liveElement = renderElement as GraphicElement;
- const resolvedParams = resolveGraphicParamsAtTime({
+ const resolvedParams = resolveGraphicElementParamsAtTime({
element: liveElement,
localTime,
});
|
