We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7af48b1 commit f19ec3eCopy full SHA for f19ec3e
1 file changed
src/components/keyframeEasings.svelte
@@ -5,6 +5,7 @@
5
import { events } from '../util/events'
6
import { getEasingArgDefault, hasArgs } from '../util/easing'
7
import { Valuable } from '../util/stores'
8
+ import { isCurrentFormat } from '../blueprintFormat'
9
10
const ICONS = Object.fromEntries(
11
(ICON_IMPORTS as unknown as any[]).map((icon, i) => [
@@ -105,6 +106,7 @@
105
106
107
events.SELECT_KEYFRAME.subscribe((keyframe?: _Keyframe) => {
108
if (
109
+ isCurrentFormat() &&
110
keyframe &&
111
['position', 'rotation', 'scale'].includes(keyframe.channel) &&
112
!isFirstKeyframe(keyframe)
@@ -124,6 +126,10 @@
124
126
events.UNSELECT_KEYFRAME.subscribe(() => {
125
127
selectedKeyframe = undefined
128
})
129
+
130
+ events.UNSELECT_AJ_PROJECT.subscribe(() => {
131
+ selectedKeyframe = undefined
132
+ })
133
</script>
134
135
{#if selectedKeyframe}
0 commit comments