To do this we need:
- To call the zoom callback during the pan action on every mouse move, not just when releasing the mouse.
- To opt out of calling the callback when sending a new zoom to avoid an infinite loop of updates. Or maybe just to make sure the callback is not called when the zoom has not changed.
Ref: zakodium-oss/pixelium#80