From 81babb8c21af1a0239b567e616745f216501935e Mon Sep 17 00:00:00 2001 From: Roman Roelofsen Date: Wed, 7 Dec 2016 16:09:49 +0100 Subject: [PATCH] Timeline: Naive horizontal scroll logic, for testing purpose only --- frontend/app/components/wp-table/timeline/wp-timeline-cell.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/components/wp-table/timeline/wp-timeline-cell.ts b/frontend/app/components/wp-table/timeline/wp-timeline-cell.ts index 9ecd6bdc00..05f2e84b75 100644 --- a/frontend/app/components/wp-table/timeline/wp-timeline-cell.ts +++ b/frontend/app/components/wp-table/timeline/wp-timeline-cell.ts @@ -109,7 +109,7 @@ export class WorkPackageTimelineCell { // horizontal scroll // if (Math.abs(mwe.deltaY) < 20) { mwe.preventDefault(); - const scrollInDays = -Math.round(mwe.deltaX / 50); + const scrollInDays = -Math.round(mwe.deltaX / 15); this.workPackageTimeline.viewParameterSettings.scrollOffsetInDays += scrollInDays; this.workPackageTimeline.refreshScrollOnly(); // }