Hi team,
We have a use-case where on pinch zoom we have to shift the zoom level from one to another which is not a steady increment(+1 increment).
The presets that we are using:
presetIdList = ['dayAndMonth', 'weekAndDay', 'hourAndDay-100by40', 'hourAndDay-64by40-2', 'hourAndDay']. And we have two views that we are showing to the users which are Week View and Month View.
In Week View, we show only the ['weekAndDay', 'hourAndDay-100by40', 'hourAndDay-64by40-2', 'hourAndDay'] presets to the user and pinch-zoom in and zoom out is working as expected as it is a steady increment as per the preset list.
In Month View, we show ['dayAndMonth', 'hourAndDay-100by40', 'hourAndDay-64by40-2', 'hourAndDay'] presets to the user. As you can see, we don't want to show the 'weekAndDay' preset in the month view. Now with zoom in/zoom out buttons we are able to easily traverse the required presets but not do the same with pinch zoom in/out and zoom with mouse wheel scroll. How can we achieve this? (Enabled zoomOnMouseWheel: true for enabling the pinch zoom and mouse wheel scroll).