From d3f24708ab8cba9f813fba55718e4e50254d0d61 Mon Sep 17 00:00:00 2001 From: msramalho <19508417+msramalho@users.noreply.github.com> Date: Fri, 8 Apr 2022 11:32:22 +0200 Subject: [PATCH] fix bug introduced in moment drop PR --- src/components/time/Timeline.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/time/Timeline.js b/src/components/time/Timeline.js index f43a37a..19b0d08 100644 --- a/src/components/time/Timeline.js +++ b/src/components/time/Timeline.js @@ -280,7 +280,7 @@ class Timeline extends React.Component { const dragNow = this.state.scaleX.invert(event.x).getTime(); const timeShift = (drag0 - dragNow) / 1000; - const { range, rangeLimits } = this.props.app.timeline; + const { range, rangeLimits } = this.props.timeline; let newDomain0 = timeSecond.offset(range[0], timeShift); let newDomainF = timeSecond.offset(range[1], timeShift);