graph.tk icon indicating copy to clipboard operation
graph.tk copied to clipboard

Currently no way to zoom without mouse wheel

Open aantthony opened this issue 14 years ago • 9 comments

aantthony avatar Dec 17 '10 01:12 aantthony

I don't seem to be able to zoom with the source you provided!

geoffmomin avatar Jan 09 '11 20:01 geoffmomin

Haha, oops. I just added mouse wheel event support for firefox in the latest commit: https://github.com/aantthony/graph.tk/commit/ff98c9a8bfb0de1e22753c8d8eefd49c7f0ea0bc

Hopefully it works now?

aantthony avatar Jan 10 '11 02:01 aantthony

Yep it works! It really is a great app...

geoffmomin avatar Jan 10 '11 22:01 geoffmomin

Sorry, but it seems to have trouble zooming in Google Chrome and Safari...im basically running tests on all browsers and am trying to get it working on the iPad and iPhone!

geoffmomin avatar Jan 10 '11 23:01 geoffmomin

Thanks :) It works for me on Chrome and Safari but I'm using the mac version. Does this page scroll?: http://aantthony.github.com/graph.tk/?cachebust=123 It should be firing the event "mousewheel" in main.js

It doesn't zoom or pan on the iPhone yet. It would be great if we could do pinch zooming.

aantthony avatar Jan 11 '11 01:01 aantthony

Hmm, it could be that the scaling speed constant: scaleconst is too low, or high. Maybe this is what's causing the problem: https://github.com/aantthony/graph.tk/blob/master/ui.js#L290

aantthony avatar Jan 11 '11 01:01 aantthony

:+1: I'm on a laptop (no mouse). Zoom is really essential.

Daniel-Hug avatar Sep 10 '14 03:09 Daniel-Hug

I thought I remembered being able to zoom in the past, but I definitely can't zoom now. Google Chrome 77.

NSExceptional avatar Nov 07 '19 21:11 NSExceptional

Just tried it on Chrome Mac Version 78.0.3904.97, and zooming was working (by using the mouse wheel). What operating system are you using @NSExceptional ?

aantthony avatar Nov 11 '19 03:11 aantthony