File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
frontend/image-tool/src/package/image-ui/components/FrameLine Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ export default function useBottom() {
141141 onMounted ( ( ) => {
142142 editor . on ( EditorEvent . CURRENT_TRACK_CHANGE , onSelect ) ;
143143 editor . on ( EditorEvent . ANNOTATE_ADD , onUpdate ) ;
144- // editor.playManager .on(EditorEvent.PLAY_STOP, onFrameStop);
144+ PlayManager . instance . on ( EditorEvent . PLAY_STOP , onFrameStop ) ;
145145 // editor.cmdManager.addEventListener(EditorEvent.UNDO, onUpdate);
146146 // editor.cmdManager.addEventListener(EditorEvent.REDO, onUpdate);
147147 editor . hotkeyManager . bindSeriesFrameEvent ( ) ;
@@ -154,7 +154,7 @@ export default function useBottom() {
154154 onBeforeUnmount ( ( ) => {
155155 editor . off ( EditorEvent . CURRENT_TRACK_CHANGE , onSelect ) ;
156156 editor . off ( EditorEvent . ANNOTATE_ADD , onUpdate ) ;
157- // editor.playManager .off(EditorEvent.PLAY_STOP, onFrameStop);
157+ PlayManager . instance . off ( EditorEvent . PLAY_STOP , onFrameStop ) ;
158158 // editor.cmdManager.removeEventListener(EditorEvent.UNDO, onUpdate);
159159 // editor.cmdManager.removeEventListener(EditorEvent.REDO, onUpdate);
160160 } ) ;
You can’t perform that action at this time.
0 commit comments