diff --git a/CircleMenuDemo/CircleMenuDemo/ViewController.m b/CircleMenuDemo/CircleMenuDemo/ViewController.m index dac5cc8..119d2b8 100644 --- a/CircleMenuDemo/CircleMenuDemo/ViewController.m +++ b/CircleMenuDemo/CircleMenuDemo/ViewController.m @@ -112,6 +112,8 @@ - (IBAction)longPressGestureRecognized:(UILongPressGestureRecognizer *)sender [tOptions setValue:[UIColor colorWithRed:0.25 green:0.5 blue:0.75 alpha:1.0] forKey:CIRCLE_MENU_BUTTON_BACKGROUND_ACTIVE]; [tOptions setValue:[UIColor whiteColor] forKey:CIRCLE_MENU_BUTTON_BORDER]; [tOptions setValue:[NSNumber numberWithInt:self.shadow] forKey:CIRCLE_MENU_DEPTH]; + [tOptions setValue:[NSDecimalNumber decimalNumberWithString:@"40.0"] forKey:CIRCLE_MENU_BUTTON_RADIUS]; + [tOptions setValue:[NSDecimalNumber decimalNumberWithString:@"2.5"] forKey:CIRCLE_MENU_BUTTON_BORDER_WIDTH]; CKCircleMenuView* tMenu = [[CKCircleMenuView alloc] initAtOrigin:tPoint usingOptions:tOptions withImageArray:self.imageArray]; [self.demoAreaLabel addSubview:tMenu];