Refine dragging behavior

This commit is contained in:
Franc Camps-Febrer
2019-01-04 08:24:53 +01:00
parent 98494e683d
commit 1519ee0868
2 changed files with 27 additions and 16 deletions

View File

@@ -10,7 +10,7 @@ class TimelineMarkers extends React.Component {
cy={0}
style={{
'transform': `translate(${this.props.getEventX(event)}px, ${this.props.getEventY(event)}px)`,
'transition': 'transform 0.3s ease',
'transition': `transform ${transitionDuration}s ease`,
'opacity': 0.9
}}
r="10"