-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose a way to redraw the canvas without having to trigger an OSD redraw #8
Comments
You could just use: viewer.raiseEvent('update-viewport'); |
Good point! Still, it would be nice to have it as an explicit part of the API, I think. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For interactive graphics or animations you might want to redraw the overlay multiple times even when the underlying OSD doesn't need updating. It would be nice to be able to trigger a draw just of the overlay. You can already do this via the
_updateCanvas
method, but the underscore marks it as private. Maybe just make it public?See openseadragon/openseadragon#1452 for more discussion.
The text was updated successfully, but these errors were encountered: