mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-07 19:08:37 +03:00
fix bug introduced in moment drop PR
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user