summaryrefslogtreecommitdiff
path: root/Cydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2008-04-25 07:43:18 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2008-04-25 07:43:18 +0000
commit7fea16f2972afd5c465665d9b15735d8702cb764 (patch)
treeb2591f94fe90aa12970941255f7d4663e4823002 /Cydia.mm
parenta0be02ebf144fcf9245a5d9742f3024f5e276237 (diff)
Slight visual improvements on the new flip.
Diffstat (limited to 'Cydia.mm')
-rw-r--r--Cydia.mm8
1 files changed, 4 insertions, 4 deletions
diff --git a/Cydia.mm b/Cydia.mm
index e047b6f..cc78ddb 100644
--- a/Cydia.mm
+++ b/Cydia.mm
@@ -3729,9 +3729,9 @@ void AddTextView(NSMutableDictionary *fields, NSMutableArray *packages, NSString
if ((self = [super initWithBook:book]) != nil) {
CGRect pageBounds = [book_ pageBounds];
- UIImageView *pinstripe = [[[UIImageView alloc] initWithFrame:pageBounds] autorelease];
+ /*UIImageView *pinstripe = [[[UIImageView alloc] initWithFrame:pageBounds] autorelease];
[pinstripe setImage:[UIImage applicationImageNamed:@"pinstripe.png"]];
- [self addSubview:pinstripe];
+ [self addSubview:pinstripe];*/
dimmed_ = [[UIView alloc] initWithFrame:pageBounds];
CGColor dimmed(space_, 0, 0, 0, 0.5);
@@ -3797,8 +3797,8 @@ void AddTextView(NSMutableDictionary *fields, NSMutableArray *packages, NSString
[animation setTransitionFlags:3];
[animation setDuration:10];
[animation setSpeed:0.35];
- [animation setSubtype:@"fromLeft"];
- [[self _layer] addAnimation:animation forKey:0];
+ [animation setSubtype:(flipped_ ? @"fromLeft" : @"fromRight")];
+ [[transition_ _layer] addAnimation:animation forKey:0];
[transition_ transition:0 toView:(flipped_ ? (UIView *) table_ : (UIView *) advanced_)];
flipped_ = !flipped_;
}