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 🙊
Hello, I was wondering if there was a way to explicitly set the
scalein the state from outside. I am attempting to create a menu button that willZoom to 75%, which can be kind tricky using thezoomOut/zoomInmethods. Something likepanZoom.current.setScale(0.75)? Apologies if this is documented somewhere already 🙊