Positioning Fixes. The window might still do some weirdness if you change its positi...
[ITKit.git] / ITSlideHorizontallyWindowEffect.m
index f0e5d78..1a26d1f 100755 (executable)
         translation.x = ( -([_window frame].origin.x) + distance ) ;
     } else if ( [_window horizontalPosition] == ITWindowPositionRight ) {
         translation.x = ( -([_window frame].origin.x) - distance ) ;
+    } else {
+        translation.x = ( -([_window frame].origin.x) ) ;
     }
     
     translation.y = -( [[_window screen] frame].size.height - [_window frame].origin.y - [_window frame].size.height );
                           (CGSWindowID)[_window windowNumber],
                           transform);
 }
+
+
 @end