Timeline: Naive horizontal scroll logic, for testing purpose only

pull/5162/head
Roman Roelofsen 8 years ago
parent c696948910
commit 81babb8c21
  1. 2
      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();
// }

Loading…
Cancel
Save