mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-04 08:06:16 +00:00
update the CPScrollView2 manual test to use the new API
This commit is contained in:
1 parent
b37893d9bb
commit
e9b87d7acc
1 file changed
+3
-3
@@ -92,9 +92,9 @@
|
||||
*/
|
||||
- (IBAction)changeSystemWideScrollerStyle:(id)aSender
|
||||
{
|
||||
if ([CPScrollView currentDefaultScrollerStyle] == CPScrollerStyleOverlay)
|
||||
[CPScrollView setCurrentDefaultScrollerStyle:CPScrollerStyleLegacy];
|
||||
if ([CPScrollView globalScrollerStyle] == CPScrollerStyleOverlay)
|
||||
[CPScrollView setGlobalScrollerStyle:CPScrollerStyleLegacy];
|
||||
else
|
||||
[CPScrollView setCurrentDefaultScrollerStyle:CPScrollerStyleOverlay];
|
||||
[CPScrollView setGlobalScrollerStyle:CPScrollerStyleOverlay];
|
||||
}
|
||||
@end
|
||||
Reference in new issue
Block a user