Skip to content
Snippets Groups Projects
Commit 61ac7c43 authored by Maxime Graulich's avatar Maxime Graulich
Browse files

iOS: fix scaling

parent 799da817
No related branches found
No related tags found
No related merge requests found
......@@ -218,7 +218,7 @@
-(void)prevAnimation { animation_prev(); [self requestRender]; }
-(IBAction)pinch:(UIPinchGestureRecognizer *)sender
{
if([sender numberOfTouches] != 1) {
if([sender numberOfTouches] <= 2) {
float mScale = scaleFactor;
if (sender.state == UIGestureRecognizerStateBegan)
mScale = scaleFactor;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment