X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/5cbc248a68de115c0c10fda4a6896b47478000a8..cdaf08d75aed64cffcb54c908eb383b05dd92789:/ITSpinWindowEffect.m diff --git a/ITSpinWindowEffect.m b/ITSpinWindowEffect.m index b3137bf..ad28792 100755 --- a/ITSpinWindowEffect.m +++ b/ITSpinWindowEffect.m @@ -203,7 +203,6 @@ translation.y = screenFrame.origin.y + ([_window frame].size.height / 2.0); transform = CGAffineTransformMakeTranslation(translation.x, translation.y); transform = CGAffineTransformRotate(transform, radAngle); - //transform = CGAffineTransformScale(transform, 1.0 / progress, 1.0 / progress); transform = CGAffineTransformTranslate(transform, -translation.x, -translation.y); if (hPos == ITWindowPositionLeft) { @@ -217,7 +216,6 @@ translation.y = -( [[_window screen] frame].size.height - [_window frame].origin.y - [_window frame].size.height ); transform = CGAffineTransformTranslate(transform, translation.x, translation.y); - CGSSetWindowTransform([NSApp contextID], (CGSWindowID)[_window windowNumber], transform);