Fix CGS warnings on 10.6
[ITKit.git] / ITSpinAndZoomWindowEffect.m
old mode 100755 (executable)
new mode 100644 (file)
index 44b3ad3..910a21a
     NSPoint translation;
        NSRect winFrame = [_window frame];
        
+    scale = MAX(scale, 0.000001);
+    
     translation.x = (winFrame.size.width / 2.0);
     translation.y = (winFrame.size.height / 2.0);
     transform = CGAffineTransformMakeTranslation(translation.x, translation.y);