You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We were previously using vue2-infinite-viewer (a version prior to this change ea62972). And we only need to set zoom.
But when we update to the newest version of vue3-infinite-viewer (which has the zoomX and zoomY change), setting zoom alone does not work as the style shows that scale is still (1, 1) which contradicts with our value 0.75 for zoom.
After some digging, I saw this change ea62972 , and found that upon rendering it's using zoomX=1, zoomY=1. So I pass in zoomX=0.75and zoomY=0.75 alongside with zoom=0.75, and voila it works.
However, when reading the documentation it clearly says do not use them together,
If you use the zoom property, don't use the zoomX and zoomY properties.
so I think there's something wrong with the implementation.
The text was updated successfully, but these errors were encountered:
We were previously using vue2-infinite-viewer (a version prior to this change ea62972). And we only need to set
zoom
.But when we update to the newest version of vue3-infinite-viewer (which has the
zoomX
andzoomY
change), settingzoom
alone does not work as the style shows that scale is still(1, 1)
which contradicts with our value0.75
forzoom
.After some digging, I saw this change ea62972 , and found that upon rendering it's using
zoomX=1, zoomY=1
. So I pass inzoomX=0.75
andzoomY=0.75
alongside withzoom=0.75
, and voila it works.However, when reading the documentation it clearly says do not use them together,
so I think there's something wrong with the implementation.
The text was updated successfully, but these errors were encountered: