summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-17 02:50:05 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-17 02:50:05 -0700
commitdb698f4255693ec8276ec4bb16c48ad69b64e458 (patch)
treed1bf5ff9fe681847d807dd5df791846f5a5360aa /MobileCydia.mm
parent4886cc818ca3f52c7c1683b45ffcdef8b6e57217 (diff)
Add cydia.setScrollAlwaysBounceVertical().
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm6
1 files changed, 6 insertions, 0 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index a56ca11..d02aa5e 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -4113,6 +4113,8 @@ static _H<NSMutableSet> Diversions_;
return @"setPasteboardString";
else if (selector == @selector(setPasteboardURL:))
return @"setPasteboardURL";
+ else if (selector == @selector(setScrollAlwaysBounceVertical:))
+ return @"setScrollAlwaysBounceVertical";
else if (selector == @selector(setScrollIndicatorStyle:))
return @"setScrollIndicatorStyle";
else if (selector == @selector(setToken:))
@@ -4141,6 +4143,10 @@ static _H<NSMutableSet> Diversions_;
[delegate_ performSelectorOnMainThread:@selector(unloadData) withObject:nil waitUntilDone:NO];
}
+- (void) setScrollAlwaysBounceVertical:(NSNumber *)value {
+ [indirect_ performSelectorOnMainThread:@selector(setScrollAlwaysBounceVerticalNumber:) withObject:value waitUntilDone:NO];
+}
+
- (void) setScrollIndicatorStyle:(NSString *)style {
[indirect_ performSelectorOnMainThread:@selector(setScrollIndicatorStyleWithName:) withObject:style waitUntilDone:NO];
}