Skip to content
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

Fix: openseadragon 3.0 API #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

arthur-flam
Copy link

Hello,

In openseadragon 3.0 viewer.buttons was renamed to viewer.buttonGroup, breaking the plugin:
openseadragon/openseadragon@0ede899

For backward-compat you may want to allow any of the 2 APIs... The MR is mainly there to tell you about this, feel free to fix in a different commit.

Have a good day and thanks a lot for this useful plugin!

see also picturae/OpenSeadragonImageFilters#2

In openseadragon 3.0 viewer.buttons was renamed to viewer.buttonGroup
openseadragon/openseadragon@0ede899
arthur-flam referenced this pull request in openseadragon/openseadragon Jan 20, 2022
This makes it more clear what we're testing for or calling methods on, vs. assigning to this.buttons in both the
useGroup true and false cases.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant