Ian Gilman
Ian Gilman
We don't have direct support for that, but you could probably add it. The MouseTracker has a nonPrimaryPressHandler and nonPrimaryReleaseHandler. Those two, combined with the moveHandler, should give you the...
I don't know... that looks pretty good. It would be easier for me to try if you shared a text version of your code. Anyway, looks like the viewer already...
Oh! Of course you still need to pan in the moveHandler. I was just telling you how to get the correct events. Anyway, panning might look like this: ``` var...
@chiliblast do you have an example of this issue in action? @msalsbery any thoughts?
@Ghostisme I'm not sure what you're referring to. Can you explain further, or share a video, or a link? What settings did you use and what effect are you seeing?
@Ghostisme Gotcha. You might be interested in https://github.com/openseadragon/openseadragon/pull/2258... Sounds like it might do what you're talking about?
@Ghostisme I see! As I mentioned there, I hadn't tried running the code when I wrote it. I've now tried it, and sure enough, there were a couple of bugs....
If you want to apply the constraints while you pan you can add `viewer.viewport.applyConstraints(true)`. There is currently no way to just swap left and right button handling.
Glad you got it sorted out!
I'm not so familiar with IIIF. @glenrobson @azaroth42 @ruven @ahankinson @tomcrane Any thoughts?