aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/animationtimeline/Timeline.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/animationtimeline/Timeline.tsx')
-rw-r--r--src/client/views/animationtimeline/Timeline.tsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/views/animationtimeline/Timeline.tsx b/src/client/views/animationtimeline/Timeline.tsx
index 677267ca0..fe1e40778 100644
--- a/src/client/views/animationtimeline/Timeline.tsx
+++ b/src/client/views/animationtimeline/Timeline.tsx
@@ -119,9 +119,7 @@ export class Timeline extends React.Component<FieldViewProps> {
}
componentWillUnmount() {
- runInAction(() => {
- this.props.Document.AnimationLength = this._time; //save animation length
- });
+ this.props.Document.AnimationLength = this._time; //save animation length
}
/////////////////////////////////////////////////