holodex / app

http://holodex.enspiral.com
GNU Affero General Public License v3.0
24 stars 1 forks source link

Drag n zoom #109

Closed simontegg closed 9 years ago

simontegg commented 9 years ago

Problem: sometimes part of the chart is drawn off-screen.

This pr allows user to drag the graph by holding down the mouse and moving and zoom around a point by using the mousewheel or two finger zoom on the touchpad.

ahdinosaur commented 9 years ago

this looks really great! :deciduous_tree:

simontegg commented 9 years ago

Ta,

I've noticed a bug: when tags are removed it sometime resets the vector back to a previous position if you'v been dragging it around. Probably related to the mutable vector state split over colaStore and routeStore

ahdinosaur commented 9 years ago

ah hmm okay, happy to merge a bug fix, let me know if you want some :eyes: anywhere.

ahdinosaur commented 9 years ago

deployed :tada: