Skip to content

Commit 002d760

Browse files
Update SetTransform.tsx
1 parent d55f753 commit 002d760

File tree

1 file changed

+1
-1
lines changed
  • packages/origine2/src/pages/editor/GraphicalEditor/SentenceEditor

1 file changed

+1
-1
lines changed

packages/origine2/src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export default function SetTransform(props: ISentenceEditorProps) {
1717
const durationFromArgs = getArgByKey(sentence, 'duration');
1818
const transform = useValue((json ?? '') as string);
1919
const duration = useValue((durationFromArgs ?? 0) as number);
20+
const isShowEffectEditor = useValue(false);
2021
const isGoNext = useValue(!!getArgByKey(props.sentence, "next"));
2122
const target = useValue(getArgByKey(props.sentence, "target")?.toString() ?? "");
2223
const isPresetTarget = ["bg-main", "fig-left", "fig-center", "fig-right"].includes(target.value);
@@ -27,7 +28,6 @@ export default function SetTransform(props: ISentenceEditorProps) {
2728
props.onSubmit(str);
2829
};
2930

30-
const isShowEffectEditor = useValue(false);
3131

3232
return <div className={styles.sentenceEditorContent}>
3333
<div className={styles.editItem}>

0 commit comments

Comments
 (0)