Skip to content

Corner radius won't return to original state #52

@brunohenriquesk1

Description

@brunohenriquesk1

If you set button corner radius programmatically it won't return to its original state.

I suggest under setOriginalState method set

self.layer.cornerRadius = layer.cornerRadius instead of self.cornerRadius , this way it will go back to original state if you set programmatically or via storyboard.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions