File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 55 import { events } from ' ../util/events'
66 import { getEasingArgDefault , hasArgs } from ' ../util/easing'
77 import { Valuable } from ' ../util/stores'
8+ import { isCurrentFormat } from ' ../blueprintFormat'
89
910 const ICONS = Object .fromEntries (
1011 (ICON_IMPORTS as unknown as any []).map ((icon , i ) => [
105106
106107 events .SELECT_KEYFRAME .subscribe ((keyframe ? : _Keyframe ) => {
107108 if (
109+ isCurrentFormat () &&
108110 keyframe &&
109111 [' position' , ' rotation' , ' scale' ].includes (keyframe .channel ) &&
110112 ! isFirstKeyframe (keyframe )
124126 events .UNSELECT_KEYFRAME .subscribe (() => {
125127 selectedKeyframe = undefined
126128 })
129+
130+ events .UNSELECT_AJ_PROJECT .subscribe (() => {
131+ selectedKeyframe = undefined
132+ })
127133 </script >
128134
129135{#if selectedKeyframe }
You can’t perform that action at this time.
0 commit comments