Fix errors in goToFrame
This commit is contained in:
parent
184578c361
commit
b1be503de9
|
|
@ -177,6 +177,7 @@ let tools = {
|
|||
get: () => {
|
||||
if (context.selection.length != 1) return undefined;
|
||||
const selectedObject = context.selection[0];
|
||||
if (! (selectedObject.idx in context.activeObject.currentFrame.keys)) return undefined;
|
||||
return context.activeObject.currentFrame.keys[selectedObject.idx]
|
||||
.goToFrame;
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue