aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/animationtimeline/TimelineOverview.tsx
diff options
context:
space:
mode:
authorgeireann <60007097+geireann@users.noreply.github.com>2020-06-11 13:38:51 +0800
committergeireann <60007097+geireann@users.noreply.github.com>2020-06-11 13:38:51 +0800
commitb14c559285d579a90bd8f7282a85283201f2f65c (patch)
treef89f5359962b8423307df2953610d20eefc821d8 /src/client/views/animationtimeline/TimelineOverview.tsx
parenta02bbf035b9b97fcebfa2db8ba1176e116863b9e (diff)
parent4ec18458fd21bd7d7307a3bab2e787346fc3ed0d (diff)
Merge branch 'master' into mobile_revision_direct
Diffstat (limited to 'src/client/views/animationtimeline/TimelineOverview.tsx')
-rw-r--r--src/client/views/animationtimeline/TimelineOverview.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/animationtimeline/TimelineOverview.tsx b/src/client/views/animationtimeline/TimelineOverview.tsx
index 31e248823..81a5587e4 100644
--- a/src/client/views/animationtimeline/TimelineOverview.tsx
+++ b/src/client/views/animationtimeline/TimelineOverview.tsx
@@ -42,9 +42,9 @@ export class TimelineOverview extends React.Component<TimelineOverviewProps>{
this.setOverviewWidth();
this._authoringReaction = reaction(
- () => this.props.parent._isAuthoring,
+ () => this.props.isAuthoring,
() => {
- if (!this.props.parent._isAuthoring) {
+ if (!this.props.isAuthoring) {
runInAction(() => {
this.setOverviewWidth();
});