This PR provides a visual feedback of the current zoom:
If minZoom is < 1.0x, three dots are displayed with the following rule to determine which one is the currently selected:
zoom < 1.0
zoom >= 1.0 && zoom < maxZoom
zoom == maxZoom
The selected dot show the exact zoom ratio.
Each dot can be selected to go to minZoom, 1.0x and maxZoom respectively.
CamerAwesome now keeps the same zoom when switching between photo and video mode.
Users might want to convert a zoomRatio to a zoom percentage (CamerAwesome expects a zoom percentage), but we'll work on that for a later release if we have feedback about this.
Checklist
Before creating any Pull Request, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
Description
This PR provides a visual feedback of the current zoom:![image](https://user-images.githubusercontent.com/6177464/234236284-aefb538b-e0cf-4d36-b28d-3117ed025ef4.png)
If minZoom is < 1.0x, three dots are displayed with the following rule to determine which one is the currently selected:
The selected dot show the exact zoom ratio. Each dot can be selected to go to minZoom, 1.0x and maxZoom respectively.
CamerAwesome now keeps the same zoom when switching between photo and video mode.
Users might want to convert a zoomRatio to a zoom percentage (CamerAwesome expects a zoom percentage), but we'll work on that for a later release if we have feedback about this.
Checklist
Before creating any Pull Request, confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]
).flutter analyze
without any issues.Breaking Change
If your feature break something, please detail it