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 5
5
import { events } from ' ../util/events'
6
6
import { getEasingArgDefault , hasArgs } from ' ../util/easing'
7
7
import { Valuable } from ' ../util/stores'
8
+ import { isCurrentFormat } from ' ../blueprintFormat'
8
9
9
10
const ICONS = Object .fromEntries (
10
11
(ICON_IMPORTS as unknown as any []).map ((icon , i ) => [
105
106
106
107
events .SELECT_KEYFRAME .subscribe ((keyframe ? : _Keyframe ) => {
107
108
if (
109
+ isCurrentFormat () &&
108
110
keyframe &&
109
111
[' position' , ' rotation' , ' scale' ].includes (keyframe .channel ) &&
110
112
! isFirstKeyframe (keyframe )
124
126
events .UNSELECT_KEYFRAME .subscribe (() => {
125
127
selectedKeyframe = undefined
126
128
})
129
+
130
+ events .UNSELECT_AJ_PROJECT .subscribe (() => {
131
+ selectedKeyframe = undefined
132
+ })
127
133
</script >
128
134
129
135
{#if selectedKeyframe }
You can’t perform that action at this time.
0 commit comments