From 9dd25514bf0ede364e255e7f82d73369f6eb7f48 Mon Sep 17 00:00:00 2001 From: bobzel Date: Tue, 12 Feb 2019 10:29:23 -0500 Subject: apparently the mac pinch zoom vs scroll wheel detection doesn't work. --- src/client/views/collections/CollectionFreeFormView.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/client/views/collections/CollectionFreeFormView.tsx b/src/client/views/collections/CollectionFreeFormView.tsx index f767bbc16..2007a111b 100644 --- a/src/client/views/collections/CollectionFreeFormView.tsx +++ b/src/client/views/collections/CollectionFreeFormView.tsx @@ -121,8 +121,8 @@ export class CollectionFreeFormView extends CollectionViewBase { e.preventDefault(); let modes = ['pixels', 'lines', 'page']; let coefficient = 1000; - if (modes[e.deltaMode] == 'pixels') coefficient = 50; - else if (modes[e.deltaMode] == 'lines') coefficient = 1000; // This should correspond to line-height?? + // if (modes[e.deltaMode] == 'pixels') coefficient = 50; + // else if (modes[e.deltaMode] == 'lines') coefficient = 1000; // This should correspond to line-height?? let { LocalX, Ss, Panxx, Xx, LocalY, Panyy, Yy, ContainerX, ContainerY } = this.props.ContainingDocumentView!.TransformToLocalPoint(e.pageX, e.pageY); -- cgit v1.2.3-70-g09d2