Skip to content
This repository has been archived by the owner on Nov 28, 2021. It is now read-only.

Mouse-wheel moves timeline only in one direction #5

Open
tobias-kuendig opened this issue Nov 23, 2017 · 1 comment
Open

Mouse-wheel moves timeline only in one direction #5

tobias-kuendig opened this issue Nov 23, 2017 · 1 comment

Comments

@tobias-kuendig
Copy link
Member

No description provided.

@cretace
Copy link

cretace commented Mar 9, 2018

To get mouse move I added
var origin =evt.pageX;
to get mousedown point
On mouse up did
var moveto =evt.pageX;
and
delta=(origin-moveto);

But I had prolems when range blocks started outside the zoomed in area - and found a D3 project that sorts it out with an SVG based build.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants