Be-Prepared / Be-Prepared.github.io

Handy PWA filled with useful tools.
Other
0 stars 0 forks source link

Enable simulated zooming on iOS #18

Open fidian opened 3 months ago

fidian commented 3 months ago

On iOS, the magnifier does not work. Setting the zoom level is not possible. So, detect if changing the zoom level is allowed. If not, or if the zoom range is not enough then scale the canvas so we have the zoom effect. zoom property iOS: { max: 2, min: 0.5 } Chrome on desktop: undefined Chrome on Android: { max: 10, min: 1, step: 0.1}

Useful links for when the Camera app was being developed.

fidian commented 3 weeks ago

Simulated zooming will also help the Jelly 2e, an Android device.