Revise defaults to reduce lagging on mouse drag?
See original GitHub issueThe current default mouse drag settings have an appreciably long lag time before the image catches up with the pointer position. It trails. It doesn’t feel snappy. I can’t think of a reason why anyone would want this behavior, ever.
I think these settings are a better default:
OpenSeadragon({
id: "osd",
prefixUrl: "//openseadragon.github.io/openseadragon/images/",
tileSources: "//openseadragon.github.io/example-images/duomo/duomo.dzi",
gestureSettingsMouse: {
flickEnabled: true,
clickToZoom: false,
dblClickToZoom: true
},
zoomPerSecond: 0.5,
zoomPerScroll: 1.3
});
Visible in action at: http://output.jsbin.com/hikekaroxa
This is all per the (closed) discussion at #1077.
If there’s a compelling reason not to do this, you might at least add another example to the “zoom-and-pan” docs with these or similar settings.
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
How to Fix Windows 10 Mouse Lag - Lifewire
To change the mouse speed or sensitivity, open Settings > Devices. Select Mouse > Additional mouse options. In the Control Panel applet for ......
Read more >Sluggish window dragging in windows 10, with Office Apps
When trying to drag any Office program open window using the mouse, the drag is very slow, severely lagging behind the mouse motion....
Read more >Why is my Mouse Lagging? 8 Ways to Stop that
1. Update the mouse driver · 2. Enable hardware-accelerated GPU scheduling · 3. Edit USB selective suspend settings · 4. Enable / Disable...
Read more >4 Fixes If Your Mouse Lags and Stutters in Games - MakeUseOf
Check Override high DPI scaling behavior. Set the dropdown to Application. Click OK. 2. Lower the Game's Graphical Settings. A common reason for ......
Read more >How to Fix Mouse Lag on Windows 10 | SoftwareKeep
Method 5: Change the Palm Check threshold · Click on the Windows icon in the bottom left of your screen, then choose Settings...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just to help out when you do not like OpenSeadragon’s animation effects, reading the unit tests, you should configure: OpenSeadragon({ … animationTime: 0, springStiffness: 100, … })
Good point, and certainly a trend worth watching. I don’t have enough experience with touch desktop devices to know whether tapping a button would be more appealing than pinching. I do know @msalsbery has put a lot of work into making sure OSD’s touch gestures work on all touch enabled devices, and even the separate pen events (not to be confused with touch or mouse) of pen-enabled devices work. Anyway, good stuff to think about for a possible redesign of the buttons.
I see that as more of a long term change, requiring a bit more thought. Turning flickEnabled on is something we can do right away.