Git Product home page Git Product logo

Comments (6)

IonoclastBrigham avatar IonoclastBrigham commented on May 31, 2024

+1 to this, big time.

On a mac, I'd actually want to pan around with vert and horizontal mouse wheel (actually a 2-finger drag) and handle zoom with a pinch gesture, but that's something I could hack in later.

from ivy.

lehitoskin avatar lehitoskin commented on May 31, 2024

Another note: canvas% does have on-event that will trigger when there's mouse activity.

from ivy.

IonoclastBrigham avatar IonoclastBrigham commented on May 31, 2024

So how accurate is this supposed to be? With the default zoom level and window size, the following image gives difficult-to-predict results. For instance, load image, place pointer on his thumb tip, and zoom in and out. You'll see it's a lot better than it was before; it's centered on the right general vicinity, but it doesn't stay centered on the place you're pointing at.

atheist vader

from ivy.

lehitoskin avatar lehitoskin commented on May 31, 2024

I see what you mean. I think it's because the image is small enough to still be considered centered for a few clicks of the wheel before the horizontal scrollbar is enabled. That being said, the same behavior is observed while using Eye of MATE --- where it doesn't center the viewable portions of the image on the mouse until the scrollbars are enabled.

from ivy.

IonoclastBrigham avatar IonoclastBrigham commented on May 31, 2024

Try zooming in so you have both bars, place the pointer on a landmark, and
then zoom in some more. Still isn't quite centered.
On Jun 10, 2016 2:42 PM, "Lehi Toskin" [email protected] wrote:

I see what you mean. I think it's because the image is small enough to
still be considered y-axis-centered for a few clicks of the wheel before
the horizontal scrollbar is enabled.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#35 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/AHFAlLk27u6xkrKZKyYA0LgF2uGUl7wTks5qKa3AgaJpZM4IkHeR
.

from ivy.

lehitoskin avatar lehitoskin commented on May 31, 2024

Quite tricky... I've tried a few different things but they just seem to make it less accurate.

from ivy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.