1.1 --- a/Source/Dispenser.m Wed May 28 12:47:10 2008 -0700
1.2 +++ b/Source/Dispenser.m Thu Jul 03 17:44:30 2008 -0700
1.3 @@ -72,14 +72,12 @@
1.4 {
1.5 NSAssert(_bit==nil,@"Already have a currentBit");
1.6
1.7 - [CATransaction begin];
1.8 - [CATransaction setValue: (id)kCFBooleanTrue
1.9 - forKey: kCATransactionDisableActions];
1.10 + BeginDisableAnimations();
1.11 self.bit = [self createBit];
1.12 CGPoint pos = _bit.position;
1.13 _bit.position = CGPointMake(pos.x, pos.y+70);
1.14 [self addSublayer: _bit];
1.15 - [CATransaction commit];
1.16 + EndDisableAnimations();
1.17
1.18 _bit.position = pos;
1.19 }