viscenter / layered-viewer

(Archive Repository) Registered image viewer based on OpenSeadragon
https://gitlab.com/educelab/vislayers
Other
6 stars 1 forks source link

shift+scrolldown does not update clip region until mouse move on OSX Chrome #33

Closed stephenrparsons closed 9 years ago

johnwalker commented 9 years ago

is this also specific to osx chrome?

stephenrparsons commented 9 years ago

Yes, this is not a problem on ubuntu chrome.

On Wed, Apr 29, 2015 at 10:36 AM john walker notifications@github.com wrote:

is this also specific to osx chrome?

— Reply to this email directly or view it on GitHub https://github.com/viscenter/layered-viewer/issues/33#issuecomment-97450550 .

csparker247 commented 9 years ago

If you don't have a Mac to test on, you're welcome to use the extra computer here in my office.

csparker247 commented 9 years ago

The primary canvas has to be redrawn after every shift + scroll event. It's fine to not redraw it if you're making the clipping region larger because you're effectively removing pixels that have already been drawn into the canvas. However, if you're scaling the clipping region down, you're effectively adding pixels back into the canvas and those have to be redrawn.