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
Hello, I was wondering if there was a way to explicitly set the scale in the state from outside. I am attempting to create a menu button that will Zoom to 75%, which can be kind tricky using the zoomOut / zoomIn methods. Something like panZoom.current.setScale(0.75)? Apologies if this is documented somewhere already 🙊
The text was updated successfully, but these errors were encountered:
Hello, I was wondering if there was a way to explicitly set the
scale
in the state from outside. I am attempting to create a menu button that willZoom to 75%
, which can be kind tricky using thezoomOut
/zoomIn
methods. Something likepanZoom.current.setScale(0.75)
? Apologies if this is documented somewhere already 🙊The text was updated successfully, but these errors were encountered: