victorBaro/VBFPopFlatButton

Rendering bug

Opened this issue · 3 comments

I have noticed a rendering Bug in my project and I could verify it in your example project using the following setup :

-(void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    self.view.backgroundColor = [UIColor whiteColor];

[...]
    self.flatPlainButton = [[VBFPopFlatButton alloc]initWithFrame:CGRectMake(200, 100, 22, 22)
                                                       buttonType:buttonMenuType
                                                      buttonStyle:buttonPlainStyle
                                            animateToInitialState:NO];
    self.flatPlainButton.lineThickness = 2.0;
    self.flatPlainButton.tintColor = [UIColor darkGrayColor];
    [self.flatPlainButton addTarget:self
                             action:@selector(flatPlainButtonPressed)
                   forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:self.flatPlainButton];
}

renderingbugmenu

I can also confirm this bug.

I will into it. Thanks for reporting