In v1 I updated settings::zoom and RackScrollWidget::offset in some of my utility modules for moving the scene around.
This seem not to work anymore since settings::zoom was removed if I set RackSrollWidget::setZoom and RackScrollWidget::offset on the same frame. I believe this is because RackScrollWidget::step uses RackScrollWidget::Internal::oldOffset first and RackScrollWidget::offset afterwards. I know I used unstable API but mybe I’m doing something wrong here or there is some other way.
My use-case is centering something on the screen, like a module.
I’m still strugling with this. Any chance you can give me an example how to center a module in the center of the screen and setting the zoom level the same time? I tried