X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/4f3da8543caacbaf1ce219e547e24a5490bee090..55f9d57f56bbbbb2c589201246a29858c6cf4e56:/ITSlideHorizontallyWindowEffect.m diff --git a/ITSlideHorizontallyWindowEffect.m b/ITSlideHorizontallyWindowEffect.m index f0e5d78..1a26d1f 100755 --- a/ITSlideHorizontallyWindowEffect.m +++ b/ITSlideHorizontallyWindowEffect.m @@ -192,6 +192,8 @@ 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 ); @@ -202,4 +204,6 @@ (CGSWindowID)[_window windowNumber], transform); } + + @end