--- a/cocoaTouch/SDLOverrides/SDL_uikitview.m Mon Feb 01 19:43:57 2010 +0000
+++ b/cocoaTouch/SDLOverrides/SDL_uikitview.m Mon Feb 01 21:26:15 2010 +0000
@@ -276,13 +276,11 @@
if (0 == initialDistanceForPinching)
initialDistanceForPinching = currentDistanceOfPinching;
- if (currentDistanceOfPinching < initialDistanceForPinching + kMinimumPinchDelta) {
- NSLog(@"Outward pinch detected");
+ if (currentDistanceOfPinching < initialDistanceForPinching + kMinimumPinchDelta)
HW_zoomOut();
- } else if (currentDistanceOfPinching > initialDistanceForPinching + kMinimumPinchDelta){
- NSLog(@"Inward pinch detected");
+ else if (currentDistanceOfPinching > initialDistanceForPinching + kMinimumPinchDelta)
HW_zoomIn();
- }
+
currentDistanceOfPinching = initialDistanceForPinching;
break;
default: