Hi there! It seems like pinch-to-zoom crashes this example app.
Steps to reproduce:
- Build the app from
master
- Start the app on a touch-enabled device
- Open an image from the library
- Zoom in using fingers
Zooming in far enough crashes the app (you don't have to zoom very far — one un-pinch seems to be enough most times).
The exception's error message is "Cannot create CanvasImageSource sized [X BY Y]; MaximumBitmapSizeInPixels for this device is [X - 1]," where X and Y are, I assume, device-specific.
A maximum zoom makes sense, but the app should probably disallow zooming past that point, rather than crashing irrecoverably.
Even not having zoom at all might be better than a sample app that crashes...
Hi there! It seems like pinch-to-zoom crashes this example app.
Steps to reproduce:
masterZooming in far enough crashes the app (you don't have to zoom very far — one un-pinch seems to be enough most times).
The exception's error message is "Cannot create CanvasImageSource sized [X BY Y]; MaximumBitmapSizeInPixels for this device is [X - 1]," where X and Y are, I assume, device-specific.
A maximum zoom makes sense, but the app should probably disallow zooming past that point, rather than crashing irrecoverably.
Even not having zoom at all might be better than a sample app that crashes...